how to remove installed packages in ubuntu 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>