Click to See Complete Forum and Search --> : Man pages - Please help!


TaeShadow
01-05-2001, 05:28 PM
My man pages don't work. I have them all installed in /usr/doc/man-pages-1.24. However, when I type "man whatever", it says "No manual entry for whatever." How do I tell it where to look for the man pages?

mdwatts
01-05-2001, 05:50 PM
Are you sure there is a man page for 'whatever'? Have you tried the obvious ones? Not everything has manuals associated with it.

TaeShadow
01-05-2001, 05:52 PM
No, no, I didn't mean that I literally typed whatever! I've tried lots of things that I know have man pages.

KT
01-05-2001, 07:15 PM
Okay I can't look it up right now, cause I'm at work, but I'm sure its got to do with your MANPATH.

Try setting it to the correct value.

type in at the command line:

MANPATH=/usr/doc/man-pages-1.24
export MANPATH

MANPATH is the path in which Linux will look for the MAN pages. Try it. If it doesn't help post here, and I'll see where I went wrong.

Also to see what your MANPATH is type at the command line:


echo $MANPATH

mdwatts
01-05-2001, 07:19 PM
I know that... I was asking if you are sure there is a man page for what you wanted. Not everything has a man page is what I meant.

KT's suggestion seems as if it could be your solution.

TaeShadow
01-05-2001, 08:29 PM
Ok, it's solved now. The $MANPATH variable wasn't set properly. Thank you.