remove ppa repository ubuntu code example
Example 1: apt remove ppa
sudo add-apt-repository --remove ppa:dhor/myway
Example 2: 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