up vote 4 down vote favorite
1

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?

flag

60% accept rate
Nowadays is easier, because the average computer is connected to the Internet. You can type "man foo" directly into google :-) – geek Feb 19 at 5:15

migrated from stackoverflow.com

5 Answers

up vote 10 down vote accepted

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.

link|flag
Or apt-get install manpages-dev manpages-posix-dev. Not doing thing the most efficient way drives my programmer OCD nuts. Sorry. – tj111 Oct 9 '09 at 19:05
up vote 2 down vote

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.

link|flag
up vote 1 down vote

On a ubuntu system they are in the packages

manpages-posix-dev (headers)
manpages-dev (functions)
link|flag
up vote 1 down vote

It always annoys me about ubuntu that I have to go searching around for the man pages and info pages to load. Fedora installs docs by default. At least they seem to be looking at it: http://brainstorm.ubuntu.com/idea/10240/

link|flag
up vote 0 down vote

Thanks. I've been searching for this

link|flag

Your Answer

get an OpenID
or
never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.