How to remove PPA in Linux Server

Aneh Thakur
TrinityTuts
Published in
Apr 29, 2021

There are several ways to remove PPA in Ubuntu. You can do it from the Software Sources list, by removing the source files from the directory or the simplest way by using the apt command.

Step 1. Open the terminal and log in to your server.

Step 2. Now run below command to get a list of PPA

sudo ls /etc/apt/sources.list.d

Step 3. Now to remove specific PPA from your source list run this command.

sudo rm -i /etc/apt/sources.list.d/<package-name>.list

Step 4. Now remove .save the file from your source list.

sudo rm -i /etc/apt/sources.list.d/<package-name>.list.save

Step 5. Now update your Ubuntu using this command.

sudo apt-get update && sudo apt-get dist-upgrade

I hope this post helps you to remove installed PPA from your Ubuntu source list.

Original Post: How to remove PPA

--

--