1832952 Members
2486 Online
110048 Solutions
New Discussion

Re: catman??

 
SOLVED
Go to solution
Joe Profaizer
Super Advisor

catman??

I just swinstalled sudo and gzip onto my system. How do I get their respective man pages to be inclusive of the global man pages?

Thanks!
5 REPLIES 5
Thierry Poels_1
Honored Contributor

Re: catman??

hi,

just add the respective directories to your MANPATH (/etc/MANPATH ?).
Afterwards you can run catman again if you want to use "man -k".

good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
fg_1
Trusted Contributor

Re: catman??

Joe

Run the following command:

./etc/catman -w

This will build your manpages.

Gl.
Joe Profaizer
Super Advisor

Re: catman??

All there are is /man subdirectories but no cat files. I added the path and ran catman -w to no avail. For instance in gzip there are the following directory structure:

/opt/gzip/man

Under this is a directory man1 with files named gunzip.1, gzcat.1, etc....

In sudo there is the following directory structure:

/opt/sudo/man

Under this are subdirectories /man5 and /man8

Within these directories are files named sudo.8 and others.

Still kind of confused. Please advise.

Thanks...
Thierry Poels_1
Honored Contributor
Solution

Re: catman??

hi,

add /opt/gzip/man & /opt/sudo/man to /etc/MANPATH, log out an in again to get your $MANPATH variable updated. Afterwards the man pages should be available. And catman can be executed if wished.


good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Craig Rants
Honored Contributor

Re: catman??

Joe,
If you ever need to read an unistalled manpage in a pinch run

nroff -man manfile | more

You could also script this to run just like man.

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut