Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Fix missing man pages for self-installed utilities' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Fix missing man pages for self-installed utilities
Authored by: jonbauman on Mar 07, '06 05:16:52PM

Setting the MANPATH variable is somewhat deprecated, so I'd recommend against it. The problem is that setting it completely overrides the nice heuristics that man uses to locate manual pages. This is particularly important if you are installing your own versions of standard utilities because if you set things up correctly, man will automatically choose the manpage for the version that comes first in your PATH.

I think the best solution is to make a symbolic link from /usr/local/share/man to /usr/local/man. Then, man's heuristics will correctly find the manpages for any command in /usr/local/bin.

---
jon

[ Reply to This | # ]