how to remove package added with add-apt-repository code example Example: add-apt-repository remove sudo add-apt-repository -r {package-name}