Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have installed iftop on Mac OS X 10.7 from source but the installer didn't copy the man page to where it should be. I have no idea where it should be either. Does anyone know where I should cp it to?

I found this thread http://arstechnica.com/civis/viewtopic.php?f=19&t=527075 but as you can see no one actually answers the question.

echo $MANPATH

returns nothing by the way.

share|improve this question

3 Answers 3

up vote 3 down vote accepted

The man pages on MacOS X are located in /usr/share/man.

Checking a nearby system, the $MANPATH variable's contents look like: /usr/share/man:/usr/local/share/man:/usr/X11/share/man

As for the application you compiled, how did you install the binary? Was this installed from a basic tarball?

share|improve this answer
    
Followed the ./configure && make in the instructions. Thanks for the reply. I had found the answer before I posted my own answer but I had to wait 8 hours cos I'm new. –  Jez Caudle May 24 '12 at 10:18

As mentioned above - the path is /usr/share/man

As an option - you can install iftop using homebrew - then it will store man pages in /usr/local/Cellar/iftop/0.17/share/man

And to specify a right path to man pages during the install from sources - you can pass --mandir= parameter to ./configure script

i.e. something like

./configure --disable-debug --prefix=/usr/local --mandir=/usr/share//man and then do make install

share|improve this answer

I found a link to someone writing a script to convert man pages to pdf so they could read them on their iPad.

The location of man pages on OS X is:

/usr/share/man/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.