How to Install Perl on CentOS 5.8

Share this Article :

Perl is an interpreted language that is very popular in the Unix community because it has a rich and powerful feature set, but is still easy to use. In this post, i will show the quick steps to install perl on linux CentOS 5.8 server.

Simply run the following command to install perl :

[[email protected] ~]# yum install perl -y

Examples :

[[email protected] ~]# yum install perl -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.oscc.org.my
 * extras: mirror.oscc.org.my
 * updates: mirror.oscc.org.my
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package perl.i386 4:5.8.8-38.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================
 Package              Arch                 Version                        Repository            Size
=====================================================================================================
Installing:
 perl                 i386                 4:5.8.8-38.el5                 base                  12 M

Transaction Summary
=====================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 12 M
Downloading Packages:
perl-5.8.8-38.el5.i386.rpm                                                    |  12 MB     01:58
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : perl                                                                          1/1

Installed:
  perl.i386 4:5.8.8-38.el5

Complete!

Leave a Reply