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