Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

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
share|improve this answer
    
Nope sudo apt-get clean only cleans the apt cache not software cache. –  Brenton Horne May 2 '13 at 21:23
1  
Software cache is a rather non-specific term to be honest - I'm aware what that command does :) Just curious - why do you feel you need to manage this manually or with the help of some tweak package? –  Marcin Kaminski May 2 '13 at 21:34

Install BleachBit. It will clean your /var//var/cache/apt/archives when you run BleachBit as root. I use BB every nite to clean up install/upgrade downloads.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.