apt-get purge autoremove code example
Example 1: sudo apt-get --purge remove
# remove an application using Advanced Package Tool command
sudo apt-get --purge remove <application_name>
Example 2: add-apt-repository remove
sudo add-apt-repository -r {package-name}