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

NTP - Ajustement de l'heure (Centos)

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

Installer WHM / cPanel sur Centos

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

Installation de plugins & Outils utiles

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpmrpm -Uhv...

Supprimer les anciens kernels

Connaitre sa version kernel actuelle :uname -rNe conserver que l'actuel et sa version antérieure...

Serveur full (/var/tmp/)

rm -rf /tmp/* service mysql restart service httpd restart

Powered by WHMCompleteSolution