uninstall apt code example
Example 1: ubuntu apt uninstall
sudo apt-get remove <application_name>
Example 2: apt remove
sudo apt-get --purge autoremove packagename
Example 3: apt-get uninstall
sudo apt-get --purge autoremove pkg
Example 4: apt uninstall
sudo apt-get remove [pkg]
Example 5: sudo apt uninstall
sudo apt-get remove pkg