ubuntu Perl 版本自由切换

前端之家收集整理的这篇文章主要介绍了ubuntu Perl 版本自由切换前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

参考http://stackoverflow.com/questions/22934080/how-to-downgrade-to-perl-5-10-1

Perlbrew will allow you to install multiple versions of Perl as user installed Perls.

安装perlbrew

apt-get install perlbrew

To install a particular version of Perl:

perlbrew install 5.10  # I'm installing Perl 5.10!

安装perl前需要建立文件:~/perl5/perlbrew/dists和:~/perl5/perlbrew/bulid

To switch from one version of Perl to another:

perlbrew use 5.10   # Use this version in the current shell

or

perlbrew switch 5.10  # This is now your default version of Perl
原文链接:https://www.f2er.com/ubuntu/350024.html

猜你在找的Ubuntu相关文章