how to remove old update from ubuntu using terminal code example Example 1: remove all cache ubuntu $ sudo apt-get clean Example 2: clean command linux sudo apt-get autoclean