Articles & Code Snippets


CentOS cleaning Yum cache

How to lean the cache of YUM on your CentOS?


yum clean packages
Now remove any cached XML-based metadata
yum clean metadata
Remove any cached database files
yum clean dbcache
Following this you will want to clean all the files to confirm the preceding instructions and to ensure that unnecessary disk space is not used
yum clean all
Rebuild the Yum cache by typing
yum makecache

For CPanel or DNSOnly you can also remove manually all the Cpanel_* temp files
rm -fv /home/*/tmp/Cpanel_*
rm -fv /tmp/Cpanel_*
web


Archives

Just feel like saying Hi?

  1 (903) NEGRARU phone
  email