This question already has an answer here:
What is the terminal command for easily uninstalling programs or software?
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
sudo apt-get remove <program name here>
(or aptitude instead of apt-get, if you prefer it).
sudo apt-get --purge remove <program name here>
2 years ago