7

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?

Suraj Jain
  • 4,463
  • 28
  • 39
neuromancer
  • 53,769
  • 78
  • 166
  • 223

5 Answers5

11
sudo apt-get install manpages-dev glibc-doc

Look here too for STL.

nc3b
  • 15,562
  • 5
  • 51
  • 63
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