Announcement

Collapse
No announcement yet.

how to modify startup environment

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how to modify startup environment

    Hi I recently installed PERL and it told me to do this after installation

    Code:
    ActivePerl has been successfully installed at /opt/ActivePerl-5.10.
    
    Please modify your startup environment by adding:
    
      /opt/ActivePerl-5.10/site/bin:/opt/ActivePerl-5.10/bin to PATH
      /opt/ActivePerl-5.10/site/man:/opt/ActivePerl-5.10/man to MANPATH
    How do I go about doing this?
    I would google but I'm really tired since it's to 2 AM. I'm off to sleep

    Thanks,

    #2
    Re: how to modify startup environment

    If you are the only user, then one way to do it is to add the following lines to the .bashrc file in your home directory:


    export PATH=$PATH:/opt/ActivePerl-5.10/site/bin:/opt/ActivePerl-5.10/bin

    export MANPATH=$MANPATH:/opt/ActivePerl-5.10/site/man:/opt/ActivePerl-5.10/man


    should work.
    We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

    Comment

    Working...
    X