Howto Install Man Pages for the C++ Standard Library
- find a copy of the tar ball of man pages. Here is a good place to start. If this mirror disappears, then goto http://gcc.gnu.org/mirrors.html select a mirror, and open the deoxygen directory.
- su to root
- select the version of documentation corresponding to your g++ compiler. For example libstdc++-man-3.3.tar.bz2.
- download the file, and unpack it, "tar zxvf libstdc++-man-3.3.tar.bz2"
- cd to uncompressed directory, "cd libstdc++-man-3.3"
- echo $MANPATH, and choose a place to put the new man pages. I chose /user/local/share/man/man3. Note that the directory, /usr/local/share/man, is the directory in the path. The man command, automatically searches on level below the paths listed in $MANPATH.
- Copy the files from the man3 directory which you have just decompressed, to the place on the manpath, "cp man3/* /usr/local/share/man/man3". Note that you will have to create the new directory, if it doesn't already exist.
- test it with "man std::vector". You should see the documentation for the std::vector class.