Ubuntu: Is it possible to clean the APT cache from the command line?
Channel: Roel Van de Paar
Date: 2019-06-19

Ubuntu: Is it possible to clean the APT cache from the command line?


Question: I ask because Ubuntu Tweak's Janitor is frozen due to the sheer number of
packages in the cache that accumulated during the upgrade from 12.10 to 13.04.

Solutions Sample (Please watch the whole video to see all solutions, in order of how many people found them helpful):

== This solution helped 189 people ==
sudo apt-get clean will do what you want, though it does seem odd that it would
freeze based on the amount of packages in the cache.

With thanks & praise to God! With thanks to all the many who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music & music license: https://www.bensound.com/royalty-free-music | Images & images license: https://stocksnap.io/license and others | With thanks to user Jorge Castro (https://askubuntu.com/users/235), user Christopher (https://askubuntu.com/users/83530), user BH2017 (https://askubuntu.com/users/93125), and the Stack Exchange Network (http://askubuntu.com/questions/285691). Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything should be amiss at Roel D.OT VandePaar A.T gmail.com.