Fatal Perl must be installed before proceeding
Fatal Perl must be installed before proceeding
I got the below error message when I tried to install cPanel on my server and the installation stopped.
Verifying archive integrity… All good.
Uncompressing cPanel & WHM Installer…..
____ _
___| _ \ __ _ _ __ ___| |
/ __| |_) / _` | ‘_ \ / _ \ |
| (__| __/ (_| | | | | __/ |
\___|_| \__,_|_| |_|\___|_|
Installer Version v00060 rbe0ff276749db84303406d39f6101e01c2176edb
Installing perl…
Loaded plugins: priorities, update-motd, upgrade-helper
No package perl available.
Error: Nothing to do
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Fatal! Perl must be installed before proceeding!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[root@server home]# yum install perl
Loaded plugins: priorities, update-motd, upgrade-helper
No package perl available.
Error: Nothing to do
FIX:
The error shows that perl package is not installed on your linux server and it is required for installing cPanel. When you run the cPanel installation script perl package will be automatically installed. Try manualling installing the perl package using yum. Command : yum install perl
I tried installing perl package using yum but it shows error “No package perl available”. I checked the repositories in /etc/yum.repos.d/ and all repositories are enabled. You will get this error if you have added perl in yum exclude list.
Open /etc/yum.conf using vi editor and remove perl from the “exclude=” line. Save the file and exit
Now try running the cPanel script and perl will be downloaded and installed. Install script already contain the command “yum -y install perl”.
If you’re still getting any error then try installing perl first using yum and then run the cPanel install script. Command : yum install perl