Installed p7zip and man page cant be found?

Discussion in 'Mac Programming' started by SHankara, Dec 16, 2007.

  1. SHankara macrumors member

    Joined:
    Oct 5, 2007
    #1
    i type man 7za but cant be found in terminal,but if I go to x11 start it and open the manual browser its there,yet the man pages where installed in usr/local/man any reasons for this?Ive been asking alot of unix questions lately.
     
  2. yeroen macrumors 6502a

    yeroen

    Joined:
    Mar 8, 2007
    Location:
    Cambridge, MA
    #2
    Is /usr/local/man in your $MANPATH environment variable?

    If you're using bash then:

    export MANPATH=$MANPATH:/usr/local/man

    should sort you out.

    You can put that line in /etc/bashrc to make it available to all users, or ~/.bashrc or ~/.bash_profile if you want it just for yourself.
     
  3. SHankara thread starter macrumors member

    Joined:
    Oct 5, 2007
    #3
    How do I make custom paths to man pages in leopard?
     

Share This Page