Thursday 3 January 2019

How to install Boost on Ubuntu



I'm on Ubuntu, and I want to install Boost. I tried with



sudo apt-get install boost


But there was no such package. What is the best way to install Boost on Ubuntu?


Answer




You can use apt-get command (requires sudo)



sudo apt-get install libboost-all-dev


Or you can call



aptitude search boost



find packages you need and install them using the apt-get command.


No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...