Created
April 21, 2015 09:37
-
-
Save halexandra/744554284c73b1a23364 to your computer and use it in GitHub Desktop.
Linux - Remove PPA and uninstall
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Use the --remove flag, similar to how the PPA was added: | |
| sudo add-apt-repository --remove ppa:whatever/ppa | |
| As a safer alternative, you can install ppa-purge: | |
| sudo apt-get install ppa-purge | |
| And then remove the PPA, downgrading gracefully packages it provided to packages provided by official repositories: | |
| sudo ppa-purge ppa_name | |
| Anyway, this won't uninstall packages that were on the PPA but not on tha official repositories. If you want to remove them, you should tell it to apt: | |
| sudo apt-get purge package_name | |
| You can also remove PPAs by deleting the .list files from /etc/apt/sources.list.d directory. | |
| Last but not least, you can also disable or remove PPAs from the "Software Sources" section in Ubuntu Settings with a few clicks of your mouse (no terminal needed). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment