1. Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

Tutorial How to clear the yum cache on centos?

Discussion in 'Linux Distributions' started by dan, Sep 9, 2014.

Thread Status:
Not open for further replies.
  1. How to clear the yum cache:
    When a package is downloaded, installed and is removed there is a chance that the package may still be saved/stored in the yum’s cache. So to clean all the cached packages from the enabled repository cache directory, login as root and execute the following:

    yum clean packages

    To purge the old package information completely, execute the following command:

    yum clean headers

    To clean any cached xml metadata from any enabled repository, execute the following

    yum clean metadata

    If you wish to clean all the cached files from any enabled repository at once, execute the

    Following command:

    yum clean all
    Draft likes this.
  2. Draft

    Draft Administrator Staff Member Administrator

  3. centos 6.5 *po* naka install sa lappy ni father sir.
    Draft likes this.
Tags / Keywords:
Thread Status:
Not open for further replies.

Share This Page