How to install boost libraries in Ubuntu/Linux?

Posted by Joys of Programming on in C/C++

Boost libraries are C++ libraries which provides a lot of additional functionalities which the standard C++ libraries do not provide. Boost libraries are present across all platforms. To install boost in linux, install the boost libraries in the following manner

$ sudo apt-get install libboost-dev
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libboost1.40-dev
Suggested packages:
  libboost1.40-doc libboost-date-time1.40-dev libboost-filesystem1.40-dev libboost-graph1.40-dev libboost-iostreams1.40-dev
  libboost-math1.40-dev libboost-program-options1.40-dev libboost-python1.40-dev libboost-regex1.40-dev libboost-serialization1.40-dev
  libboost-signals1.40-dev libboost-system1.40-dev libboost-test1.40-dev libboost-thread1.40-dev libboost-wave1.40-dev docbook-xsl fop
The following NEW packages will be installed:
  libboost-dev libboost1.40-dev
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,151kB of archives.
After this operation, 66.4MB of additional disk space will be used.

The boost development header files are available in the directory /usr/include/boost

Tags: , , ,

Comments:

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Copyright © 2009-2012 Joys of Programming All rights reserved.
Desk Mess Mirrored v1.8.1 theme from BuyNowShop.com.