Saturday, May 4, 2024
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 537  / 2 Years ago, mon, april 18, 2022, 7:59:16

In the upgrade from 12.10 to 13.04 I lost the ability to use Ubuntu Tweak's Janitor to clean caches so I would like to know how to do it from the command line.


More From » command-line

 Answers
3

I've never used any such software but if you're talking about caches, I think you might mean downloaded APT packages in /var/cache/apt/archives which are cleaned with sudo apt-get clean.



If you mean package/source package caches, then these can be re-generated with apt-cache gencaches. If you want to remove them for some (odd) reason, they're held in:



/var/cache/apt/pkgcache.bin
/var/cache/apt/srcpkgcache.bin

[#31428] Tuesday, April 19, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
unsmmoth

Total Points: 72
Total Questions: 113
Total Answers: 95

Location: Thailand
Member since Tue, Oct 6, 2020
4 Years ago
;