Perl (Scripting) - Install Perl on Linux

by
Jeremy Canfield |
Updated: March 09 2020
| Perl (Scripting) articles
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 . . .
Did you find this article helpful?
If so, consider buying me a coffee over at