by Jeremy Canfield | Updated June 10th, 2018
The easiest way to install Perl is to use apt-get or yum.
~]# apt-get install perl ~]# yum install perl
If for some reason apt-get or yum cannot be used, install gcc.
~]# yum install gcc
If curl is not installed, install curl.
~]# yum install curl
Issue the following command to install Perl.
~]# curl -k -L http://xrl.us/installperlnix | bash
Ensure Perl was installed.
~]# perl -v This is Perl 5 . . .