[CentOS] how to clear out /var/cache?

Tue Jan 4 18:41:58 UTC 2022
Valeri Galtsev <galtsev at kicp.uchicago.edu>


On 1/4/22 1:22 PM, Johnny Hughes wrote:
> On 12/31/21 22:15, Fred wrote:
>> well, I removed all the files in the tree under 
>> /var/cache/yum/x86_64/7 but
>> left all the directories empty. that got rid of a couple gigs of stuff.
>>
>> among the remains, the only other big one remaining is:
>>
>> 2.3G abrt-di
>>
>> which I won't mess with for now.
>>
>> I've got 4.2G free, now, so that should run me for quite a while.
>>
>> Thanks to all of you for your tips!
>>
>> Fred
> 
> For the record .. I remove things manually from /var/cache/yum/ all the 
> time (or /var/cache/dnf/ ).  It has never caused me any issues.
> 
> I have not removed anything else manually from /var/cache/
> 

+1

Valeri

> <snip>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos

-- 
++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++