View Full Version : Man does not support c programming
April 23rd, 2005, 12:07 PM
I have installed GCC-33 on my ubuntu system.
I've chosen gcc-docs aswell.
My problem is how to setup man to enable me to for instance do a:
man 2 dup
Hope anyone can help
I'm normally a java programmer, so hacking a bit of c on the linux kernel is a new world to me :-), but extremely interesting.....
April 23rd, 2005, 02:23 PM
Man is not a kernel internel. Your first source of information should be the manual page, ' man man '.
In order to modify man, you will need the source code available at packages.debian.org.
April 23rd, 2005, 02:57 PM
sudo apt-get install glibc-doc
April 26th, 2005, 11:06 AM
See also "manpages-dev", probably the package you are looking for.
$ apt-cache show manpages-dev
Description: Manual pages about using GNU/Linux for development
These man pages describe the Linux programming interface, including
these two sections:
2 = Linux system calls.
3 = Library calls (note that a more comprehensive source of information
may be found in the glibc-doc package).
Notice that it mentions the aforementioned "glibc-doc", however.
January 10th, 2007, 01:06 PM
In Edgy glibc docs are split into glibc-doc and glibc-doc-reference.
As of today glibc-doc-reference conflicts with glibc-doc. If you have the glibc-doc package installed you need to completely remove it to install glibc-doc-reference and vice-versa.
February 25th, 2007, 05:42 PM
[QUOTE=vague-;148379]See also "manpages-dev", probably the package you are looking for.
I installed manpages-dev and the manpages I needed are now available (thanks a lot);
I tried to install glibc-doc but I got the following:
# apt-get install -f glibc-doc
Unpacking glibc-doc (from .../glibc-doc_2.4-1ubuntu12.3_all.deb) ...
dpkg: error processing /var/cache/apt/archives/glibc-doc_2.4-1ubuntu12.3_all.deb (--unpack):
trying to overwrite `/usr/share/doc-base/glibc-manual', which is also in package glibc-doc-reference
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
what am I supposed to do?
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.