Before installing cPanel you need to install Perl on your server.
# To install Perl on your system, login as root and run the following command.
yum -y install perl
# To install cPanel & WHM on your server, run the following command:
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Please do contact us at [email protected] if you require any further assistance.