GNU man to man database

I have installed some GNU software in /usr/local/bin and man
files into /usr/local/man/cat1 and /usr/local/man/man1.
I have done catman -w -M /usr/share/man:/usr/local/man to
have new windex database.
When I enter man <keyword> (<keyword> refers to GNU software), man does not find it.
When I set MANPATH=/usr/share/man:/usr/local/man, and then
man <keyword>, man still does not find it.
When I enter man -M /usr/share/man:/usr/local/man <keyword>,
man does find it.
What have I missed when I created windex database ?
magriAsked:
Who is Participating?
 
dcarriganConnect With a Mentor Commented:
This should all work. The only thing I can think of is that you're not exporting MANPATH.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.