To install the Cpanel/WHM control panel, run the following command as user root.
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
If you are installing on Ubuntu 20.04 and get the following error
Can't locate FindBin.pm in @INC (you may need to install the FindBin module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /home/cPanelInstall/selfgz1630/install line 12. BEGIN failed--compilation aborted at /home/cPanelInstall/selfgz1630/install line 12.
Install package “libfindbin-libs-perl”.
apt install -y libfindbin-libs-perl