Describes how to install Perl and Perl in Linux.

Source: Internet
Author: User

Nowadays, many people are learning Linux, which is increasingly popular with computer users. If you are studying linux, you may encounter the problem of installing Perl and Perl modules in Linux, here we will introduce how to install the Perl and Perl modules in Linux. Both Linux and Perl are free software. It is amazing to combine them. Follow these steps to install perl in linux.

1. obtain the latest perl version. The current version is 5.6.0, that is, stable.tar.gz.

2. Unpack the package:

Gunzip stable.tar.gz
Tar xvf stable.tar

Get catalog perl-5.6.0

3, install perl under the directory perl-5.6.0:

 
 
  1. rm -f config.sh Policy.sh  
  2. sh Configure -de  
  3. make  
  4. make test  
  5. make install 

Config. sh Policy. sh is the configuration file used during previous installation. You need to delete it during new installation or upgrade installation.

Sh Configure-de install and use the default configuration. Generally, it will be OK.

After installation, the Directory of perl is/usr/local/lib/perl5, And the perl execution file is in/usr/local/bin.

4. About the. html file

Perl cannot be installed automatically. html file, there is an installhtml file in the perl-5.6.0 directory, execute perl installhtml -- help to get help, you can use installhtml. pod and. the pm file is compiled accordingly. html file. For details about how to use it, see.

The preceding steps deploy the Perl and Perl modules in Linux.

  1. Key Points of Linux cluster technology
  2. Another Linux server cluster software for LifeKeeper
  3. Linux server cluster technology
  4. Step 7: Protect Linux servers
  5. Introduction to ntop configuration 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.