Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to run some perl-scripts on my server that require perl 5.10. Perl 5.10 seems to be released many years ago and is still not available for CentOS5.

In #rhel I was recommended to install RHEL6, but I use CentOS. In #centos I was jokingly recommended to install CentOS-6.

This leaves me wondering... all other Linux distributions I know already support perl 5.10, except for CentOS. Should I manually install perl 5.10? Or is this likely to end up making my server a mess? Or should I try to rebuild packages based on Fedora source packages?

share|improve this question
Check out App:perlbrew, as mentioned here:… – grojo May 12 '11 at 13:41

The "Modern" way of setting up a version of Perl different from the system Perl is by using
perlbrew - this way you can maintain a Perl version on a per-user basis without messing too much with the system installed perl; this way system installed stuff that uses Perl still works without problems.

share|improve this answer
or cpanminus – chicks Sep 9 '15 at 1:49
cpanminus is a -very nice - client for installing perl MODULES from the cpan. If you want a different perl from system perl you can't use a cpan client; you'd use perlbrew or - newer and also very nice - plenv – MichielB Sep 9 '15 at 11:16

The RPMs at look good. They install perl in /usr/local.

share|improve this answer

Something like this should work:

tar -xzf perl-5.12.3.tar.gz
cd perl-5.12.3
./Configure -des -Dprefix=$HOME/localperl
make test
make install

Then you can run the scripts with /usr/bin/perl5.12.3

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.