Installing Perl under Linux

Source: Internet
Author: User

[Email protected] ~]# wget http://www.cpan.org/src/5.0/perl-5.26.1.tar.gz

[Email protected] perl-5.26.1]# cd/usr/local/
[Email protected] perl-5.26.1]# tar zxvf/root/perl-5.26.1.tar.gz
[Email protected] local]# CD PERL-5.26.1/
[Email protected] perl-5.26.1]#./configure-de
[[email protected] perl-5.26.1]# make
[[email protected] perl-5.26.1]# make test
[[email protected] perl-5.26.1]# make install

Test the installation results:

[Email protected] perl-5.26.1]# perl-v

This is Perl 5, version A, Subversion 1 (v5.26.1) built for X86_64-linux

Copyright 1987-2017, Larry Wall

Perl May is copied only under the terms of either the artistic License or the
GNU general public License, which is found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should is found on
This system using "Man Perl" or "Perldoc perl". If you had access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

[Email protected] perl-5.26.1]#

Write the first program using Perl:

[Email protected] perl-5.26.1]# perl-e ' print ' Hello world! \ n "';
Hello World!

Installing Perl under 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.