ubuntu remove ppa code example
Example 1: how to remove an apt repository
sudo add-apt-repository --remove ppa:whatever/ppa
sudo apt-add-repository --remove 'deb some/repo your_distro main'
Example 2: apt remove ppa
sudo add-apt-repository --remove ppa:dhor/myway
Example 3: remove ppa from ubuntu
sudo add-apt-repository --remove ppa:whatever/ppa
sudo apt-get install ppa-purge
sudo ppa-purge ppa:whatever/ppa
sudo apt-get purge package_name
Example 4: delete ppa repository ubuntu
sudo add-apt-repository --remove ppa:PPA_Name/ppa