Upgrading Perl in Ubuntu [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
开发者_开发百科 Improve this questionSince May 14th the current version of Perl is 5.14. In Ubuntu repository the current version of Perl is 5.10 which is no longer supported. So Im trying to manually upgrading Perl. What is the recommended way to upgrade perl 5.10 to perl 5.14 in Ubuntu? I found the perlbrew tool, but it seems to install just in the users home.
Perlbrew docs says that you can change your $HOME
dir to something else:
The directory
~/perl5/perlbrew
will contain all install perl executables, libraries, documentations, lib, site_libs. If you need to installperlbrew
, and the perls it brews, into somewhere else because, say, your HOME has limited quota, you can do that by setting aPERLBREW_ROOT
environment variable before running the installer:export PERLBREW_ROOT=/opt/perlbrew curl -L http://xrl.us/perlbrewinstall | bash
download, configure, compile ....
精彩评论