Re: Add paths to $PATH and $MANPATH
MANPATH variable in Ubuntu Karmic is empty. manpath command gives sth like that, though:
If one wants to change manpath output, they should either modify /etc/manpath.config file (which isn't easy) or create new MANPATH variable.
Example - recently, I replaced cdrkit packages with original cdrtools. Because of that, I had to add /opt/schily/man to manpath. A correct way is to do that:
It's important to unset MANPATH first so that it actually takes real manpath output (inherited from /etc/manpath.config) before each change.
Next 'manpath' invocation informs about a change:
manpath: warning: $MANPATH set, ignoring /etc/manpath.config
Last edited by mgol; December 28th, 2009 at 01:45 PM.
Dell Latitude E6500: P8600 | Intel GMA 4500MHD | 15,4'' 1440x900 LED (matte) | 4GiB DDR2 | 233 GiB HDD 7200 rpm (with Free Fall Sensor).
Jabber ID: mgol /at/ jabster.pl - let me write in within my profile details, please!