Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

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 http://www.perl.org/get.html . 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: http://www.activestate.com/activeperl/downloads . Extract it, and sh install.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.