If you mean Ubuntu, that is a Debian derivative so it uses the apt package manager. Just type
sudo apt-get remove packagename
But be careful! Apt packaging is very tightly integrated, so removing one package often leads to other packages going with it. Read any warnings that apt gives you about other packages before you OK the removal.