how to uninstall and remove a package in ubuntu completely code example
Example 1: how to delete a package in ubuntu
sudo apt-get --purge remove [package]
Example 2: uninstall package ubuntu
sudo apt remove <package name>
sudo apt-get --purge remove [package]
sudo apt remove <package name>