Home Linux yum clear cache
Questions:Ask|Latest


 
 

Share on Google+Share on Google+

yum clear cache

Advertisement
Learn how to use yum tool for clearing yum 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.

Advertisement

Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: November 21, 2011

Ask Questions?    Discuss: yum clear cache  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
DMCA.com