{"id":590,"date":"2019-11-30T13:14:29","date_gmt":"2019-11-30T21:14:29","guid":{"rendered":"http:\/\/modulesafari.com\/?p=590"},"modified":"2019-11-30T13:15:58","modified_gmt":"2019-11-30T21:15:58","slug":"how-to-install-the-boost-c-libraries","status":"publish","type":"post","link":"http:\/\/modulesafari.com\/how-to-install-the-boost-c-libraries\/","title":{"rendered":"How to install the Boost C++ libraries"},"content":{"rendered":"\n

The Boost C++ libraries are a set of free peer-reviewed C++<\/a> libraries. They are intended to be useful for a wide variety of applications and portable. Boost just makes life easier, here is how to install it on Linux. <\/p>\n\n\n\n

Installing Boost using a package manager<\/h2>\n\n\n\n

The easiest way to install Boost is with your built-in package manager. It takes care of the installation of all of the dependencies and is more likely to be using a very stable version of the library. Also, there is the added benefit of it being easy to remove if you no longer want it. <\/p>\n\n\n\n

Apt (Debian, Ubuntu, Pop OS, etc)<\/h3>\n\n\n\n

On most Debian based systems, you can install all of the Boost libraries with a single command. <\/p>\n\n\n\n

apt-get install libboost-all-dev<\/pre>\n\n\n\n

DNF (Fedora, etc)<\/h3>\n\n\n\n

The newer versions of Fedora now use Dandified Yum, instead of just regular yum. <\/p>\n\n\n\n

dnf install boost-devel<\/pre>\n\n\n\n

Yum (Centos, older versions of Fedora, etc)<\/h3>\n\n\n\n
yum install boost-devel<\/pre>\n\n\n\n

Manual Installation<\/h2>\n\n\n\n

If you require a different version of it than the one that is provided by your package manager, you can easily compile and install it manually. <\/p>\n\n\n\n

Dependencies<\/h3>\n\n\n\n

Boost has very few dependencies. You mainly need just a C++ compiler and make. <\/p>\n\n\n\n