Installing Eclipse takes a few steps since it requires a few dependencies such as Java and Yatta Installer. Visit this great article on how to install Eclipse!
To uninstall Eclipse from your Ubuntu desktop, simply run:
sudo apt-get autoremove eclipse
Eclipse stores files in your home directory. You may also want to run the following command to remove these files:
sudo rm -rf ~/eclipse