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:
- rm -f config.sh Policy.sh
- sh Configure -de
- make
- make test
- 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.
- Key Points of Linux cluster technology
- Another Linux server cluster software for LifeKeeper
- Linux server cluster technology
- Step 7: Protect Linux servers
- Introduction to ntop configuration in Linux