apt uninstall a package code example
Example 1: ubuntu apt uninstall
sudo apt-get remove <application_name>
Example 2: uninstall package ubuntu
sudo apt remove <package name>
sudo apt-get remove <application_name>
sudo apt remove <package name>