delete unused added ppa repositories code example Example: apt remove ppa sudo add-apt-repository --remove ppa:dhor/myway