Skip to content

Instantly share code, notes, and snippets.

@italosantana
Created November 18, 2022 19:09
Show Gist options
  • Save italosantana/5f4c13113de76be1bbf582a930c099aa to your computer and use it in GitHub Desktop.
Save italosantana/5f4c13113de76be1bbf582a930c099aa to your computer and use it in GitHub Desktop.
You first check out for the name of the package you want to remove:
dpkg --list
Then remove the given package
sudo apt-get remove package_name
Purge any related code
sudo apt-get purge package_name
Then Autoremove
sudo apt-get autoremove
Finally, do a clean so you check everything is correctly removed
sudo apt-get clean
You would like to check at the packages list whether the one you wanted to remove is not listed anymore, but it is optional.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment