How to install Perl on Linux

Home > Search > How-to
  by

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 . . .

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments