LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-02-2003, 08:07 PM   #1
rainvory
LQ Newbie
 
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
Unhappy how can I downgrade Perl version on redhat 9.0 ?


I am quite new user of Linux ( version of my system is redhat 9.0)
During using some software for my study, I found it required lower version of Perl like 5.6.x.

How can I easily downgrade the version without breaking system?
Is it ok just to install the lower version after removing higher version Perl I used forcibly (by 'rm '??)?? Is there some tool to install or remove program in this case?

Please give me some advice to downgrade perl version to v.5.6.X.


Thank you in advnace!!!!

Last edited by rainvory; 09-02-2003 at 08:08 PM.
 
Old 09-06-2003, 10:20 PM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
rpm -e perl

If other programs depend on it, it will give you and error.
 
Old 03-04-2004, 08:50 PM   #3
chee_l_s
LQ Newbie
 
Registered: Feb 2004
Posts: 8

Rep: Reputation: 0
Hi, I also needed to downgrade my perl 5.8 to perl 5.6.1, in order to use qmail-scanner with qmail.

If perl 5.8 is really in used by other programs, then what can we do to replace it?

Please help. thanks.
 
Old 05-01-2017, 09:04 PM   #4
linushelp
LQ Newbie
 
Registered: May 2017
Posts: 3

Rep: Reputation: Disabled
Question downgrade perl

hi,

Do anyone know how to downgrade perl version in Red Hat 6 ? or can we install another perl version into the same OS ?

Thank you,
LinuxHelp

Last edited by linushelp; 05-01-2017 at 09:05 PM.
 
Old 05-01-2017, 09:38 PM   #5
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Wellington, New Zealand
Distribution: Slackware, Fedora
Posts: 1,007

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
linushelp, the thread you're posting in is over 13 years old It's probably worth starting a new thread for your question.

Before you do start a new thread, confirm that you are using Red Hat 6 rather than Red Hat Enterprise Linux (RHEL) 6. They are VERY different.
 
1 members found this post helpful.
Old 05-02-2017, 01:38 PM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,148
Blog Entries: 4

Rep: Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716
You can install multiple versions of Perl, and this is commonly done.

I strongly recommend that you leave alone the standard "system-wide" installation since system management tools might well depend on it.

Create a directory, say somewhere in /usr/local/bin, and install the Perl executable into it. Then, in similar fashion, set up a location for the CPAN library materials. Your "old" Perl should only reference this alternate library location: it should not reference the system-wide location at all. Install CPAN materials for this Perl while running this Perl.

This is analogous to "installing Perl as a non-root user," say in a public web-hosting service. There's a lot of material on that particular topic.
 
2 members found this post helpful.
Old 05-02-2017, 08:27 PM   #7
linushelp
LQ Newbie
 
Registered: May 2017
Posts: 3

Rep: Reputation: Disabled
Hi sundialsvcs,

I am still new in Linux system, May you show me the installation step by step how to do it ?

Thank you,
linushelp
 
Old 05-02-2017, 08:43 PM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,148
Blog Entries: 4

Rep: Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716
Quote:
Originally Posted by linushelp View Post
Hi sundialsvcs,

I am still new in Linux system, May you show me the installation step by step how to do it ?

Thank you,
linushelp
Unfortunately, as earnestly as I might – out of the goodness of my ever lovin' heart – wish to help you "from afar," I really can't.

However: do some Google-searching on the topic of "perl as a non-root user," and then consider how you might do this "in the operating system (if any ...) that you know best." The fundamental principles are actually quite similar from one environment to another. A few things to look for would be these:
  • Command path: When a program "issues the perl command," our locally-installed version must be the one that gets picked.
  • Environment variables: Perl(5) uses the PERL5LIB environment variable to specify its library-search path. You must maintain a separate library and always ensure that "your Perl" will always find what it's looking for in this library.
As earnestly-sympathetic as I may be to your plight, and even though I am thoroughly familiar with Perl, I can't give you what you ask, therefor I must now send you on a search. Please spend the next couple of days doing some serious fact-finding, and then, please, circle back here with "lots more questions."

You might also find it fruitful to ask at http://www.perlmonks.org. This is a Perl-specific website.

Last edited by sundialsvcs; 05-02-2017 at 08:45 PM.
 
Old 05-02-2017, 10:09 PM   #9
linushelp
LQ Newbie
 
Registered: May 2017
Posts: 3

Rep: Reputation: Disabled
hi

Here what I done
# sh Configure -Dprefix=$HOME/perl-5.22.3
#make
#make test
#make install

So what is the next ?

Thank you,
 
  


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
downgrade of GCC version nelnel Linux - Software 7 06-29-2005 01:10 AM
Perl Module Version on AS RH 3.0 brendskina Linux - Enterprise 2 06-13-2005 07:52 AM
redhat fedora gcc version (compiled for 2.4.20) doesn't match kernel version 2.4.22 start1000 Linux - Software 0 03-16-2004 08:17 PM
Downgrade redhat? redhatnoob Linux - Software 2 12-02-2003 06:37 PM
perl 5.8.0 error in cvs version rahul_jain_9684 Linux From Scratch 0 09-09-2003 12:05 PM


All times are GMT -5. The time now is 03:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration