Skip to content

Instantly share code, notes, and snippets.

@harshalbhakta
Created October 29, 2014 06:12
Show Gist options
  • Select an option

  • Save harshalbhakta/167777dfbc734441c6df to your computer and use it in GitHub Desktop.

Select an option

Save harshalbhakta/167777dfbc734441c6df to your computer and use it in GitHub Desktop.
Ubuntu cleanup
# autoclean removes partial packages from the system.
$ sudo apt-get autoclean
# Removes .deb packages that apt caches when you install/update programs.
$ sudo apt-get clean
# Removes packages installed as dependencies after the original package is removed from the system.
$ sudo apt-get autoremove
# What gtkorphan does is to find packages that were once used but no longer have any purpose.
# Be careful as to not remove the Gstreamer packages as they are for mp3 encoder/decoding and DVD playback. Do not remove them.
$ sudo apt-get install gtkorphan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment