Version of Perl updated in Linux

Source: Internet
Author: User

Every time you learn a piece of software, you need to pack a bunch of things, and there are requirements for Perl or Pyhton versions. Feel the time spent on software maintenance is very long, if there is a super computer, each company to apply for a server above, there is a dedicated administrator to maintain the good, need to update just as long as the administrator said a sound good.

Back to the chase, update Perl.

1. To Perl's official website the next compressed package: http://www.perl.org/get.html, I chose perl5.25.0.

2. Then unzip the perl-5.25.0.tar.gz under/USR/LOCAL/SRC

3. After decompression CD perl-5.25

4. Then executed a bit of this code, although not understand what it means:./configure-des-dprefix=/usr/local/perl-dusethreads-uversiononly

5. Then make, make install, no error, then the installation was successful.

If you have Perl installed on your computer before, you can use the following settings

6.cd/usr/bin

7.MV Perl perl.old #将perl之前的perl设置为旧的

8.ln-s/usr/bin/perl/usr/local/bin/perl5.25.0

And then use Perl-v to view the time, is the new version.

Version of Perl updated in Linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.