Install an older version

Posted by wbmp123 on 2008-11-25 13:10

I'm trying to install an older version of perl but the system complains that there are newer versions already installed and it doesn't appear to do anything after that. I looked around for a 5.10 directory of some sort but couldn't find anything. I'm trying to install 5.8. How can I tell if 5.10 is installed and how can I remove it? If it has been removed (in it's entirity or partially) how can I tell and what do I have to do to fully remove it? Any help would be grealty appreciated.

npraven_rediffmail | Thu, 2009-01-01 11:44

In the command prompt try the command "which perl"

which perl

The command display which perl it is using.check for the uninstaller and uninstall the same.


KevinADC | Tue, 2009-01-06 10:18

While it is perl you are trying to install, this is really a Linux Red Hat question. I suggest you try a Linux forum for how to install the older version of perl. It sounds possible but I don't know how myself since its really a system administration question and not a perl question.

Edit: oops, just replied to a question that is months old. :(

ActiveState Staff
Wed, 2009-03-25 08:32

If that error you are reporting happens when you are running an ActivePerl Linux installer it would mean you are attempting to install an old version into the same directory tree as a newer version.

This is blocked because the two versions are not binary compatible and forcing it would trash both.

You can install any number of Perl versions side-by-side. BUT...
The highest Perl on the PATH will be the default.
Each Perl must be in an independent directory tree.
Non-default versions have to be called with full path names.
Global environment variables like PERL5LIB or PERLLIB can cause you lots of problems if they are not pointed to the version you are running.