This requires Boost, check installation instructions here
After boost libs are properly installed, move to CLI directory and run make to compile bnsolver
cd CLI
make help
make CONF=Learner-Linux clean
make CONF=Learner-Linux
cd CLI/dist/Learner/GNU-Linux
./bn_learning --help
./bn_learning outfile.bnet --dataset data.csv