How to Clear Yum Cache on CentOS
Yum stores downloaded packages and headers in its cache and does not delete them automatically.
If you find they are taking up disk space, you can use the yum clean command to clear them. More specifically, yum clean headers clears the headers, yum clean packages clears the downloaded …