How to install Boost Documentation in Ubuntu/Linux?
Posted by Joys of Programming on in C/C++
Once you installed boost libraries, you would want to install boost documentation in your machine. In Ubuntu/debian based machine it is as simple as
$ sudo apt-get install libboost-doc Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libboost1.40-doc The following NEW packages will be installed: libboost-doc libboost1.40-doc 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 38.2MB of archives. After this operation, 196MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://in.archive.ubuntu.com/ubuntu/ lucid/main libboost1.40-doc 1.40.0-4ubuntu4 [38.2MB] Get:2 http://in.archive.ubuntu.com/ubuntu/ lucid/main libboost-doc 1.40.0.1 [1,872B] Fetched 38.2MB in 22min 4s (28.9kB/s) Selecting previously deselected package libboost1.40-doc. (Reading database ... 299823 files and directories currently installed.) Unpacking libboost1.40-doc (from .../libboost1.40-doc_1.40.0-4ubuntu4_all.deb) ... Selecting previously deselected package libboost-doc. Unpacking libboost-doc (from .../libboost-doc_1.40.0.1_all.deb) ... Processing triggers for doc-base ... Processing 1 added doc-base file(s)... Registering documents with scrollkeeper... Setting up libboost1.40-doc (1.40.0-4ubuntu4) ...
The HTML documentation will be available file:///usr/share/doc/libboost1.40-doc/HTML/index.html.
Depending on the version of libboost-doc you have installed, the file path above will have slight changes
Comments:
Boost Documentation will take quite large volume of space so I suggest leave libboost-doc not installed and query the online documentation on demand.