By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,710 Members | 1,970 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,710 IT Pros & Developers. It's quick & easy.

upgrading to perl 5.10 from 5.8.8 in RHEL5

P: 33

Currently i am having perl 5.8.8 on my RHEL5 by default.

I want to upgrade it to either 5.8.9 or 5.10.0

I have downloaded both the tar files corresponding to versions 5.8.9 and 5.10.0

I have untarred the tar ball corresponding to 5.10.0 i am trying to install it using ./Configure -d

After completing the command, i am trying to verify the perl version using perl -v

But still it is showing perl5.8.8 only.

Could you please let me know how to upgrade the existing perl version to a new version in RHEL5.

Thanks in advance.

Best Regards,

Jan 2 '09 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 2.5K+
P: 3,503
The Configure script itself does not actually install the software. All its purpose is, is to create the Makefile that is needed to build Perl. It finds the locations of everything it may need in your system in order to do its job. If it determines the minimum isn't met, it will let you know that.

At the end of the Configure scripts run it should have told you to run "make" and then "sudo make install". The make program is what will compile everything and the make command with the install option will place the newly compiled files where they need to go. (yes, the sudo part of the command is needed as these places are typically only writable by root user).

Be warned though, after doing this on some systems, running "perl -v" may still return your old version.

I suggest doing a "which perl", deleting the link / file and then creating a softlink to the newly installed Perl binary.


Jan 2 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.