How to update to the latest perl in ubuntu 14.04 x64? Ive tried via apt and and cpan alredy and core wont update.

2 Answers 2


You can use perlbrew:

sudo apt-get install perlbrew


perlbrew init
perlbrew install perl-5.20.1

There will be no version upgrades for Perl (or most other packages) within a single Ubuntu version, because that might break existing code. Instead they will port essential fixes back to the version they ship.

If you want to have a newer version you can use perlbrew to install it, but this will not replace the Perl version shipped with Ubuntu, will not affect any installed scripts and will not use already installed modules.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .