LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-10-2011, 01:19 AM   #1
linuq
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Rep: Reputation: 0
To install different version of Perl+module without affecting the existing one.


Hi All,

As in the subject, I need to install different version of Perl with needed modules to Test Run a perl script (ASSP) without affecting the existing one as the old version of Perl is buggy with seg fault.

Any help would be great.
Thanks.
 
Old 05-10-2011, 06:15 PM   #2
vkvs
LQ Newbie
 
Registered: May 2011
Posts: 23

Rep: Reputation: 2
Its on PERL website if you would only bother to look. http://www.cpan.org/src/README.html

"How to install from source

wget http://www.cpan.org/src/perl-5.12.3.tar.gz
tar -xzf perl-5.12.3.tar.gz
cd perl-5.12.3
./Configure -des -Dprefix=$HOME/localperl
make
make test
make install"
 
Old 05-10-2011, 08:31 PM   #3
linuq
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks.
So installing from the source with different directory will not affect the existing one?
Even if I install some modules to the new Perl?
 
Old 05-17-2011, 10:33 PM   #4
linuq
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Original Poster
Rep: Reputation: 0
anyone?
 
Old 05-18-2011, 05:59 PM   #5
varspool
LQ Newbie
 
Registered: May 2011
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by linuq View Post
Thanks.
So installing from the source with different directory will not affect the existing one?
Even if I install some modules to the new Perl?
The example above overrode the installation directory to your home directory so conflict would be avoided.

BTW you should look into perlbrew. I have not tried it myself bt everyone seems to swear by it for this sort of situation.
 
Old 05-20-2011, 05:40 AM   #6
linuq
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Original Poster
Rep: Reputation: 0
I prefer not to use perlbrew as it may affect the existing default perl.
Installing different version of Perl is working, what about the installation of modules?
 
  


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
How to write using fwrite without affecting existing content of file? Basel Programming 1 10-30-2010 11:13 AM
list perl module & install perl module DBD::mysql linson_85 Linux - Newbie 4 06-22-2009 10:42 AM
How to install the latest Mandriva just to upgrade the existing version. Gins Linux - General 2 05-20-2009 03:09 PM
Perl Module Version on AS RH 3.0 brendskina Linux - Enterprise 2 06-13-2005 07:52 AM
perl module install? DKY Linux - Newbie 33 08-04-2003 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:33 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration