Linux – [Solved] How to remove Yum Cache
Why we need to remove yum cache ??
By default, yum deletes downloaded data files when they are no longer needed after a successful operation. This minimizes the amount of storage space that yum uses. However, you can enable caching, so that the package files downloaded by yum stay in cache directories. By using cached data, you can carry out certain operations without a network connection, you can also copy packages stored in the caches and reuse them elsewhere.
To remove Yum Cache on centos 7
yum clean all