How to install man pages for C standard library functions in Ubuntu?

In my university, I can do such things as:

  • man strlen
  • man strcpy
  • man msgget
  • man msgctl

and a nice manual page appears. On my PC I get

$ man strcat
No manual entry for strcat

Any help on how to get those documentation pages into my computer?


Install the manpages-dev and manpages-posix-dev (thanks ChristopheD) packages. You should be able to find them in synaptic, or type

apt-get install manpages-dev
apt-get install manpages-posix-dev

at the command line.


For Fedora, you can install it using yum:

yum install man-pages libstdc++-docs

You may find glibc-doc package useful as well. From http://packages.ubuntu.com/jaunty/glibc-doc:

Contains The GNU C Library Reference manual in info and html format as well as the man pages for libpthread functions and the complete GNU C Library ChangeLog.


On a ubuntu system they are in the packages

manpages-posix-dev (headers)
manpages-dev (functions)