Skip to content

Instantly share code, notes, and snippets.

@gnurag
Created August 9, 2018 11:10
Show Gist options
  • Save gnurag/51e560629e0e284066fe98b5b3941d75 to your computer and use it in GitHub Desktop.
Save gnurag/51e560629e0e284066fe98b5b3941d75 to your computer and use it in GitHub Desktop.
yum clean all
[root@hp-dl380pgen8-02-vm-6 cache]# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: base beaker-distro beaker-harness beaker-tasks centos-sclo-rh centos-sclo-sclo epel extras foreman foreman-plugins puppet5 tfm-ror51 updates
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
Cleaning up list of fastest mirrors
[root@hp-dl380pgen8-02-vm-6 cache]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment