how to clean up ubuntu 18.04 code example Example 1: cleaning up your ubuntu system sudo apt-get autoclean Example 2: cleaning up your ubuntu system sudo apt-get clean