开发者

Upgrading Perl in Ubuntu [closed]

开发者 https://www.devze.com 2023-03-28 22:41 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

开发者_开发百科 Improve this question

Since 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 install perlbrew, and the perls it brews, into somewhere else because, say, your HOME has limited quota, you can do that by setting a PERLBREW_ROOT environment variable before running the installer:

export PERLBREW_ROOT=/opt/perlbrew curl -L
http://xrl.us/perlbrewinstall | bash


download, configure, compile ....

0

精彩评论

暂无评论...
验证码 换一张
取 消