sudo apt remove and sudo apt purge code example
Example 1: apt-get uninstall
sudo apt-get --purge autoremove pkg
Example 2: apt uninstall
sudo apt-get remove [pkg]
sudo apt-get --purge autoremove pkg
sudo apt-get remove [pkg]