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';?

Thanks.

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.
{"cc_re__cc_re__cc_by_sa_3_0": ["                  <li><a href=\"//area51.stackexchange.com\" title=\"proposing new sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"//careers.stackoverflow.com\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\r\n                </div>\r\n            </div>\r\n\r\n            <div id=\"copyright\">\r\n                site design / logo &#169; 2015 stack exchange inc; user contributions licensed under <a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a> \r\n                with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2015.7.1.2693\r\n            </div>\r\n                <div id=\"additional-notices\">\r\n                    Ubuntu and Canonical are registered trademarks of Canonical Ltd.\r\n                </div>\r\n            \r\n        </div>\r\n    </div>\r\n    <noscript>\r\n        <div id=\"noscript-war"], "copyright__copyright__copyright": ["could find a file named \"INSTALL\" which include installation steps. Basically, sh Configure make make test make install\n\nIf you want ActivePerl 5.14.2 , you could get it from: http://www.activestate.com/activeperl/downloads . Extract it, and sh install.sh .\n\nBeware to set the install directory to some place in which you have write permission and not to replace the system's 5.10.\n\nshare|improve this answer\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}