-   Linux - Software (
-   -   how can I downgrade Perl version on redhat 9.0 ? (

rainvory 09-02-2003 09:07 PM

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!!!!

darthtux 09-06-2003 11:20 PM

rpm -e perl

If other programs depend on it, it will give you and error.

chee_l_s 03-04-2004 09:50 PM

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.

linushelp 05-01-2017 10:04 PM

downgrade perl

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,

notKlaatu 05-01-2017 10:38 PM

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.

sundialsvcs 05-02-2017 02:38 PM

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.

linushelp 05-02-2017 09:27 PM

Hi sundialsvcs,

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

Thank you,

sundialsvcs 05-02-2017 09:43 PM


Originally Posted by linushelp (Post 5705390)
Hi sundialsvcs,

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

Thank you,

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 This is a Perl-specific website.

linushelp 05-02-2017 11:09 PM


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

So what is the next ?

Thank you,

All times are GMT -5. The time now is 12:11 AM.