Find the answer to your Linux question:
Results 1 to 7 of 7
I'm new to linux, and I'm using Fedora core 5. I downloaded a program called sleuthkit, and it dosen't automatically install it's man pages. When I type "export MANPATH=" in ...
  1. #1
    Just Joined!
    Join Date
    Dec 2006
    Posts
    10

    Can't add manpage path

    I'm new to linux, and I'm using Fedora core 5. I downloaded a program called sleuthkit, and it dosen't automatically install it's man pages. When I type "export MANPATH=" in the bash shell and add the directory they are in, I can pull up the man pages. When I log out and log back in, the path is gone, and I can't pull up man pages for sleuthkit, but all the regular man pages are there. What am I doing wrong?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    add "export MANPATH=" in .bashrc file.
    Code:
    nano ~/.bashrc






    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Dec 2006
    Posts
    10
    Still couldn't get this to work. I'm not sure how to change that file. I got it open but I'm not sure if I'm putting in the right code in the right place. I've gotta type this out cause I don't know how to copy from emacs to here

    # .bashrc

    # Source global definitions
    if [ -f /etc/bashrc ]; then
    . /etc/bashrc
    fi
    # User specific aliases and functions
    export MANPATH=/home/sleuthkit-2.06/man


    Is this right?

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Code:
    MANPATH=MANPATH:/home/sleuthkit-2.06/man
    export MANPATH
    open .bashrc file in any editor you like.






    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Dec 2006
    Posts
    10
    Thanks so much! That did the trick. If I need to add more paths later, I just do it by seperating it with commas and resave the .bashrc file, right?
    Again, thanks so much for the help. I have a very long way to go before I get the hang of this.

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    you are Welcome angryzen !

    If I need to add more paths later, I just do it by seperating it with commas and resave the .bashrc file, right?
    yes !

    MANPATH=MANPATH:/home/sleuthkit-2.06/man:<new path>






    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined!
    Join Date
    Dec 2006
    Posts
    10
    Thanks so much man, I think I feel my headache going away now!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...