yum clear cache

Learn how to use yum tool for clearing yum cache.

yum clear cache

yum clear cache

In this tutorial I will tell you how you can delete the cached file by yum utility. The yum utility downloads and saves the file in cache while installing a new package. If you want to spare some of the space on your system then you should delete the cache.

What is yum?

The Yellow dog Updater Modified or YUM for short is free software package management tool for linux. The YUM is open source software package, which is used in linux environment for installing, updating and uninstalling software packages.

It is very intelligent tool and it determines the dependency among the software packages. It automatically downloads and installs the packages in the dependency tree. It makes the management of software packages on linux system very easy.

Use of yum tool to clear cache

Following command is used to to delete the package data:

su -c 'yum clean headers'

If you wan to delete all the packages held in cache, you can use following command:

su -c 'yum clean packages'

This way you can free some of the space on your hard drive.

In most of the cases you just need to install the package on your linux system. After installing the package using yum tool you can delete the packages held in cache.

In this tutorial we learned how to you clean cache using yum tool.

Tutorials

  1. Beginner Guide to Linux Server
  2. Beginner Guide to Linux Server
  3. Roseindia.net Place to Get Cheap Linux cds in India!!
  4. RoseIndia.net Is Your On-Line Linux & xBSD CD Distribution Source
  5. RoseIndia.net Is Your On-Line Linux & xBSD CD Distribution Source
  6. We are providing Downloadable Version of Dyne:bolic 1.3 Linux
  7. We are providing Fedora Cord 2 Linux CD's .
  8. Buy Fedora Core 3 Linux CD's in India.
  9. Buy Fedora Core 3 Test 1 Linux CD's in India.
  10. We are providing Linux CD's for free.
  11. Free Linux Distribution in India
  12. We are providing Free BSD 5.3 CD's
  13. We are providing Downloadable Version of Gentoo Linux
  14. Linux Tutorials
  15. We are providing Downloadable Version of K12LTSP Linux
  16. We are providing Downloadable Version of K12LTSP Linux
  17. We are providing Knoppix 3.4 Live Linux CD's
  18. We are providing Knoppix 3.6 Live Linux CD's
  19. We are providing Knoppix 3.7 Live Linux CD's
  20. We are providing Linux CD's for free.
  21. Buy KANOTIX BUG HUNTER 09-2004-A Live CDs in India from us. KANOTIX BUG HUNTER 09-2004-A Live is available with us.
  22. We are providing Downloadable Version of Mandrake 10.1 Community Edition Linux CD's.
  23. We are providing Downloadable Version of Mandrake 10.1 Official Edition Linux CD's.
  24. We are providing Downloadable Version of Mandrake 10.1 Power Pack Linux CD's.
  25. We are providing Linux CD's for free.
  26. We are providing Linux CD's for free.
  27. We are providing Downloadable Version of Mandrake Move Linux
  28. We are providing Downloadable Version of Mandrake Official 10 Linux CD's.
  29. TheOpenCD is a collection of high quality Free and Open Source Software
  30. Buy Peanut 9.6 Linux in India from us. Peanut 9.6 distribution is available in India.
  31. We are providing Linux CD's for free.
  32. Buy Slackware 10.0 in India from us. Slackware 10.0 is available with us.
  33. We are providing Downloadable Version of Slackware 9.1 Linux CD's.
  34. Buy SuSe 9.1 Live CDs in India from us. Suse 9.1 Live is available with us.
  35. Buy SuSe 9.1 Personal CDs in India from us. Suse 9.1 Personal is available with us.
  36. Buy SuSe 9.2 Live CDs in India from us. Suse 9.2 Live is available with us.
  37. Buy SuSe 9.2 Professional CDs in India from us. SuSe 9.2 Professional is available with us.
  38. Buy SuSe 9.1 Professional CDs in India from us. Suse 9.1 Professional is available with us.
  39. Buy Xandros 2.01 OCE in India from us.Xandros 2.01 OCE is available in India at cheapest rate.
  40. The Beginners Linux Guide