Linux : cPanel install error Can’t locate in @INC

By | October 13, 2023

Running into the following error installing cPanel on a new AlmaLinux server?

perl: warning: Falling back to the standard locale (“C”).
Can’t locate in @INC (you may need to install the lib module) (@INC contains: /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /home/cPanelInstall/selfgz41082/install line 17.
BEGIN failed–compilation aborted at /home/cPanelInstall/selfgz41082/install line 17.

This is because your server is missing the “perl-lib” package.

Install using the command below and run the installer script again :

yum install perl-lib