问题
In Ubuntu linux I can't get any man pages for C++ keywords. Is there some kind of package I can install to fix this?
回答1:
sudo apt-get install manpages-dev glibc-doc
Look here too for STL.
回答2:
check out this project: https://github.com/Aitjcize/cppman Which generates manpages from cplusplus.com
回答3:
The libstdc++6-4.4-doc will install the man pages for STL too, not only the HTML doc. The manpages-posix-dev package is also really good to have.
回答4:
You must install manpages-dev package :
$ sudo apt-get install manpages-dev
回答5:
You could also consider installing libstdc++6-4.4-doc, which installs the full C++ library documentation in HTML format, generated from the doxygen comments (you can find it in /usr/share/doc/libstdc++6-4.4-doc/libstdc++/html/index.html
, and I think that scrollkeeper indexes it). Remember to install the updated package when the installed g++ version changes.
来源:https://stackoverflow.com/questions/2887498/c-man-pages-in-ubuntu