How do you delete the CPanel RPM's? I need to try to clean CPanel off the server

WebHostPro

Well-Known Member
PartnerNOC
Jul 28, 2002
1,726
27
328
LA, Costa RIca
cPanel Access Level
Root Administrator
Twitter
When I run this command I see a ton of CPanel RPM's

rpm -qa | grep -i psa;rpm -qa | grep -i cpanel

Is there a way to remove all of these?

Maybe:

rm -rf rpm -qa | grep -i psa;rpm -qa | grep -i cpanel

I know it's not recommended to remove cpanel but we have to in this situation.

Thanks,
Charles

- - - Updated - - -

Also I tried to remove one but got a dependency problem:

rpm -e cpanel-perl-514-JSON-XS-2.32-1.cp1136.x86_64
error: Failed dependencies:
cpanel-perl-514(JSON::XS) >= 2.3 is needed by (installed) cpanel-perl-514-JSON-Any-1.29-1.cp1136.x86_64
cpanel-perl-514(JSON::XS) >= 2.3 is needed by (installed) cpanel-perl-514-Catalyst-Action-REST-1.05-1.cp1136.x86_64
cpanel-perl-514(JSON::XS) is needed by (installed) cpanel-perl-514-Task-Cpanel-Internal-11.36.001-1.cp1136.x86_64
cpanel-perl-514(JSON::XS) is needed by (installed) cpanel-perl-514-Task-Cpanel-3rdparty-11.36.001-1.cp1136.x86_64
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Hello :)

There is no practical method of uninstalling cPanel because of the nature of how it integrates into the OS. I suggest formatting your partitions and reinstalling the OS if you prefer to remove cPanel completely.

Thank you.