Standard way
So, the most common and standard way is with this command:
sudo apt-get remove package_name
Completely remove (advanced)
However, if you want to completely remove the program you can use the command purge
instead of remove
.
sudo apt-get purge package_name
Remove orphan packages
Finally, using the terminal, you can also remove orphan packages using the following command.
sudo apt autoremove