how to delete a package in ubuntu

Shell
sudo apt-get --purge remove [package]
Source

Also in Shell: