Shell/Bash: clear cache yum centos 7 Example

By

Shell/Bash Example: This is the "clear cache yum centos 7" Example. compiled from many sources on the internet by SimpleTutorials.org

clear cache yum centos 7

#To clean all cached packages from the enabled repository cache directory
yum clean packages

#To purge the old package information completely
yum clean headers

#To clean any cached xml metadata from any enabled repository,
yum clean metadata

#To clean all the cached files from any enabled repository at once,
yum clean all

#change yum file settings
nano /etc/yum.conf
http_caching=none


* Summary: This "clear cache yum centos 7" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others