I seem to be missing some man pages, notably gcc and g++. It doesn't help that I specify the section. whereis
doesn't list man pages for those two, so I think they are simply not there.
With Google I get a lot, for example: http://linux.die.net/man/1/g++ (seems to be ordinary HTML though… or is it man page markup?)
I thought this would be a good opportunity to learn how to replace them manually. I guess I'm looking for a gcc.1.gz file?
Do I get it from GNU, from Debian, or could it be automated somehow? How much work is put into those files – if I get one, is it likely to be 99% correct or do they really differ a lot with time/architecture?
Best Answer
You should add the
non-free
andcontrib
repositories to your sources list and runapt-get update
afterwards.Now you can install the
gcc-doc
package which contains the man-pages with:The problem is that the gcc documentation is released under the GNU Free Documentation License which is considered non-free by Debian.