1

So you want to try an app that is in a PPA, so you add the PPA like so:

sudo add-apt-repository [some PPA]

Then you decided you don't like it or it's buggy or whatnot. What is the command to remove one?

2 Answers2

4

From the Terminal/CLI run:

sudo add-apt-repository --remove [some PPA]

Where some PPA is the repository that you wish to remove.

Don't forget to use sudo apt update after removing the PPA.

Ravexina
  • 55,668
  • 25
  • 164
  • 183
Gansheim
  • 871
-2

Please open up the Software and Updates menu and go to the Other Software tab. From there you can delete and add any PPA you like manually. You can also use Geany to quickly delete or drag and drop sources into your /etc/apt/sources.list file.

  • 2
    @Emandudeguy the question specifically states they are looking from a solution from the CLI. If they are running Ubuntu server, they don't have GUI... – Gansheim Apr 14 '17 at 16:31
  • @CelticWarrior comments are not for the quality of an answer. You vote up or down for that. Comments are only to extract more detail. Remember to play nice. – fossfreedom Apr 14 '17 at 22:42
  • @Emandudeguy being offensive is not acceptable. Please dont do that again. – fossfreedom Apr 14 '17 at 22:43