Basil000
asked on
Where do I set the manpath
After installing QT, for some reason, my manpath is /usr/local/qt/man. Where/what do I edit to add in /usr/man, /usr/local/man, and all that stuff? (right now I can only do man moc, and nothing else, but the files are all there.)
ASKER
I have that file, and it has those manpaths in it, but I still can't get any manpages.
Depending on your shell you could set:
For sh/bash (add to .basrc or .profile):
MANPATH=$MANPATH:/usr/loca l/man:/usr /X11R6/man
export MANPATH
For csh/tcsh (add to .cshrc or .tcshrc)
setenv MANPATH "$MANPATH:/usr/man:/usr/lo cal/man"
and so on ...
Just log out and relogin ... should be working. Unless you didn't
install the man pages.
For sh/bash (add to .basrc or .profile):
MANPATH=$MANPATH:/usr/loca
export MANPATH
For csh/tcsh (add to .cshrc or .tcshrc)
setenv MANPATH "$MANPATH:/usr/man:/usr/lo
and so on ...
Just log out and relogin ... should be working. Unless you didn't
install the man pages.
If you want to make the man pages available to all users, add:
MANPATH=$MANPATH:/usr/loca l/man etc etc
to your /etc/profile file.
Paul
MANPATH=$MANPATH:/usr/loca
to your /etc/profile file.
Paul
ASKER
That works Paul, just make it an answer now...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
MANPATH /usr/man
MANPATH /usr/local/man
MANPATH /usr/X11R6/man
MANPATH /usr/lib/perl5/man
Hope this helps