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?
Asked
Active
Viewed 8,436 times
7
-
superset http://stackoverflow.com/questions/5293737/where-are-the-man-pages-for-c – Ciro Santilli OurBigBook.com Dec 04 '16 at 21:14
5 Answers
11
-
1
-
Any examples with `man` after that please?? I failed to find for e.g. `man std::sort` or `man printf` – Loves Probability Jun 10 '17 at 09:49
6
check out this project: https://github.com/Aitjcize/cppman Which generates manpages from cplusplus.com

Aitjcize
- 187
- 1
- 8
4
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.

ygram
- 972
- 10
- 18
-
It's interesting that this exists, but the online documentation is *much* easier to use: http://www.cplusplus.com or http://en.cppreference.com. – Brent Bradburn Jun 22 '13 at 18:11
1
You must install manpages-dev package :
$ sudo apt-get install manpages-dev

Sajad Bahmani
- 17,325
- 27
- 86
- 108
0
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.

Matteo Italia
- 123,740
- 17
- 206
- 299