I have encountered this error when installing cpanel in Linux server.
Fatal! Perl must be installed before proceeding!
The problem is Perl module was install on the server. cPanel need this module for installing. The solution is very simple. You have to install Perl module by issuing the following command in SSH.
yum install perl
cPanel/WHM installation on your VPS or dedicated server is very easy. Just follow the steps below & you are done. Remember that you need fresh CentOS installation prior to installing cPanel/WHM.
1. Run your preferred SSH client such PuTTY. Connect to your server & login as “root”.
2. Download & install cPanel/WHM by running the following commands one by one.
cd /home
wget -N http://httpupdate.cpanel.net/latest
sh latest
The process will take approximately 60 to 90 minutes but it is largely depending on your server internet connection and performance.
If you only want to install cPanel DNSONLY version use the following command instead
cd /home
wget -N http://httpupdate.cpanel.net/latest-dnsonly
sh latest-dnsonly
Once the installation complete, login to your WHM as root to configure,
http://yourip:2086 or
https://yourip:2087