Functions of Yum clean all

Functions of Yum clean all

Today, I found a machine/var &> 70%. I checked the/var/cache/Yum directory.

Use Yum clean all to clear, which is very convenient and avoids the problem of no root permission.

The function of this command is to clear the yum cache.

yum stores downloaded packages and headers in the cache and does not delete them automatically. If you think it takes up disk space, you can use the yum clean command to clear it. A more precise usage is yum clean headers to clear the headers, yum clean packages to clear the downloaded rpm packages, and yum clean all to clear them all.

Similar Posts: