apt command to uninstall code example
Example 1: ubuntu apt uninstall
sudo apt-get remove <application_name>
Example 2: command to remove a program linux
sudo apt-get remove [pkg]
sudo apt-get remove <application_name>
sudo apt-get remove [pkg]