Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

This question already has an answer here:

How can I use perl 5.12 on Ubuntu 10.10? There is no distribution package on Ubuntu.

I have to use feature 'unicode_strings'; in my perl code, and this is available from 5.12. I try to install perl on Ubuntu by apt-get install perl, but 5.10 is the latest version.

How can I deal with this? Or is there any code in 5.10 can replace the code feature 'unicode_strings';?


share|improve this question

marked as duplicate by falconer, mikewhatever, guntbert, belacqua, karel Jan 29 '14 at 1:06

This question was marked as an exact duplicate of an existing question.

up vote 0 down vote accepted

I suggest that you should install two version of Perl side by side, because the default 5.10 is a critical part of the system itself, packages are depend on it, a big upgrade to it is not a good idea.

If you want to install Perl 5.16.1 from Larry, you could get the tarball from . Extract it, you could find a file named "INSTALL" which include installation steps. Basically, sh Configure make make test make install

If you want ActivePerl 5.14.2 , you could get it from: . Extract it, and sh .

Beware to set the install directory to some place in which you have write permission and not to replace the system's 5.10.

share|improve this answer

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