Wednesday, October 15, 2008

Linux Programmer’s Manual on Ubuntu

I typed man sscanf on my Ubuntu 8.04.1 system at home and was shocked to see this reply:

No manual entry for sscanf

Never had a UNIX or UNIX-like system ever left me out in the cold like this without help. Fortunately, I found where to get the manpages. Just sudo aptitude install manpages-dev and everything is all better. Phew.

1 comment:

Stanley said...

works like a charm! thanks for the tip!

I am using ubuntu and it recently updated my copy of GCC. "man scanf" returns "No manual entry for scanf".

I googled and some say "sudo apt-get install gcc-doc", apt did download and install something but it still wouldn't work until I found your tips here. thanks a lot!