In this post, I will explain to you how we can remove PPA from the PPA list in Ubuntu. Some time in an effort to install various applications we need to install multiple PPA in Ubuntu or other Linux distribution. Over time some PPA is not updated with the latest version of the operating system. This thing creates trouble when we need to update Ubuntu.
Note: Before removing PPA you also need to remove Application installed by PPA.
How to remove PPA
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 terminal and login to your server.
Step 2. Now run bellow command to get 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 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 help you to remove installed PPA from your Ubuntu source list.