PACKAGE-CLEANUP: COMMAND NOT FOUND

1
2
[email protected] [~]# package-cleanup --problems
-bash: package-cleanup: command not found

If I was on Ubuntu, I would have done “apt-get install package-cleanup” but it does not work that way on CentOS, its actually available in yum-utils package, install it by typing

1
yum install yum-utils

Enjoy!!

 

To clean kernels and /boot you can use this command :

package-cleanup --oldkernels --count=2

 

 

  • 0 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

PHP - Choisir votre Handler

Introduction & Fonctionnement Choisir son "Handler" ou gestionnaire PHP en français n'est...

CSF - Excessive resource usage: mailman

Bonjour,   Vous recevez des mails de type : Time:         Sat May 16 10:01:18 2020...

Installer WHM / cPanel sur Centos

yum updateyum upgradeyum install perlcd /homewget -N http://httpupdate.cpanel.net/latestsh latest...

Intégration Nginx sous CPanel

Nginx Admin v5.2 Stable Released (nginxcp.com)Change log: Below is a detailed list of all the...

NTP - Ajustement de l'heure (Centos)

Installation de NTP :   Centos 6 : yum install ntpchkconfig ntpd onntpdate...

Powered by WHMCompleteSolution