Installing Perl
Procedure
- Download the installation package.
cd /path/to wget https://www.cpan.org/src/5.0/perl-5.34.0.tar.gz
- Decompress the installation package and perform the installation.
tar xvf perl-5.34.0.tar.gz cd perl-5.34.0 ./Configure -des -Dprefix=/path/to/perl -Dusethreads -Uinstalluserbinperl -Dcc=gcc make make test make install
- Set the environment variables.
export PATH=/path/to/perl/bin:$PATH export PERL5LIB=/path/to/perl/lib/site_perl/5.34.0
- Configure the Perl source.
cpan o conf urllist unshift http://mirrors.163.com/cpan/ o conf commit quit
If the following information is displayed, the configuration is successful.

Parent topic: Configuring the Compilation Environment