how to remove repository apt ubuntu code example Example: apt remove ppa sudo add-apt-repository --remove ppa:dhor/myway