remove a ppa from terminal 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
Example 3: delete ppa repository ubuntu
sudo add-apt-repository --remove ppa:PPA_Name/ppa