LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-26-2013, 12:47 AM   #1
R.Mostafa
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Rep: Reputation: Disabled
Perl


I installed perl successfully and it gave this message:

Please modify your startup environment by adding:

/opt/ActivePerl-5.16/site/bin:/opt/ActivePerl-5.16/bin to PATH
/opt/ActivePerl-5.16/site/man:/opt/ActivePerl-5.16/man to MANPATH

How can I do this?
 
Old 03-26-2013, 02:08 AM   #2
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,929

Rep: Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306
usually those variables should be set in /etc/profile. but it also depends on your login shell
 
Old 03-26-2013, 04:26 AM   #3
Turbocapitalist
Member
 
Registered: Apr 2005
Distribution: Ubuntu, Debian, OS X (bsd)
Posts: 152

Rep: Reputation: 28
Something may be wrong if you had to install perl. It should be there by default on most (all?) distros. What distro are you using?
 
Old 03-27-2013, 10:57 PM   #4
R.Mostafa
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
usually those variables should be set in /etc/profile. but it also depends on your login shell
I have bash shell, Do you mean to add this to .bashrc?
 
Old 03-27-2013, 11:31 PM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,289

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
I'm with Turbocapitalist, its normally part of the std install.
what distro+version?
Code:
cat /etc/*release*
On Centos its /usr/bin/perl; try
Code:
which perl
Where did you get that perl from/how/why did you install it; AFAIK ActivePerl is usually only found on non-*nix eg MSWin.
 
Old 03-28-2013, 01:17 AM   #6
R.Mostafa
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
I'm with Turbocapitalist, its normally part of the std install.
what distro+version?
Code:
cat /etc/*release*
On Centos its /usr/bin/perl; try
Code:
which perl
Where did you get that perl from/how/why did you install it; AFAIK ActivePerl is usually only found on non-*nix eg MSWin.

It is binary distribution version 5.16. I already had old one 5.8.8 but I need the latest one.
I get it from http://www.perl.org/get.html
 
Old 03-28-2013, 01:50 AM   #7
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,289

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
As pan64 said, just do as it says.
PATH (& MANPATH) might be set in /etc/profile (or /etc/profile.d dir) for ALL users.
For personal customisations, see your personal .bash_profile
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
install vim via yum thinks perl is required - I build perl 5.14.2 from source rubanek Linux - General 4 05-02-2012 06:42 PM
Print output of a script to screen using Perl/Multiple installation of Perl Modules metallica1973 Linux - General 1 02-17-2011 05:59 PM
Trying to find libmail-mbox-messageparser-perl and libmailtools-perl for Fedora 11 almac58 Linux - Software 4 11-18-2009 03:17 AM
LXer: Installing Eclipse, the Epic Perl plugin and my first Perl GUI program LXer Syndicated Linux News 0 05-08-2009 06:41 PM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM


All times are GMT -5. The time now is 08:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration