Completely uninstall Eclipse in Ubuntu with Commands:
In the Ubuntu operating system, we installed Eclipse but unable to remove the eclipse completely. Here we provide solutions for removing completely Eclipse step by step process.
Step 1: First goto root user using below command:
sudo su
Step 2: Update the Ubuntu packages using below command:
sudo apt-get update
root@sreekanth-Inspiron-5537:/home/sreekanth# sudo apt-get update Hit:1 http://in.archive.ubuntu.com/ubuntu xenial InRelease Hit:2 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease Hit:4 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease Hit:5 http://dl.google.com/linux/chrome/deb stable Release Hit:6 https://repo.skype.com/deb stable InRelease Get:8 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB] Get:9 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [74.8 kB] Get:10 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [83.8 kB] Get:11 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [124 kB] Get:12 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [194 kB] Ign:13 https://package.mapr.com/releases/v6.0.0/ubuntu binary InRelease Get:14 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [2,464 B] Ign:15 https://package.mapr.com/releases/MEP/MEP-5.0/ubuntu binary InRelease Hit:16 https://package.mapr.com/releases/v6.0.0/ubuntu binary Release Hit:18 https://package.mapr.com/releases/MEP/MEP-5.0/ubuntu binary Release Fetched 588 kB in 4s (142 kB/s) Reading package lists... Done root@sreekanth-Inspiron-5537:/home/sreekanth#
Step 3: Removing Eclipse packages using below command:
apt-get remove --purge eclipse
root@sreekanth-Inspiron-5537:/home/sreekanth# apt-get remove --purge eclipse Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-4.15.0-64 linux-headers-4.15.0-64-generic linux-headers-4.15.0-65 linux-headers-4.15.0-65-generic linux-headers-4.15.0-66 linux-headers-4.15.0-66-generic linux-headers-4.15.0-69 linux-headers-4.15.0-69-generic linux-headers-4.15.0-70 linux-headers-4.15.0-70-generic linux-headers-4.15.0-72 linux-headers-4.15.0-72-generic linux-image-4.15.0-64-generic linux-image-4.15.0-65-generic linux-image-4.15.0-66-generic linux-image-4.15.0-69-generic linux-image-4.15.0-70-generic linux-image-4.15.0-72-generic linux-modules-4.15.0-64-generic linux-modules-4.15.0-65-generic linux-modules-4.15.0-66-generic linux-modules-4.15.0-69-generic linux-modules-4.15.0-70-generic linux-modules-4.15.0-72-generic linux-modules-extra-4.15.0-64-generic linux-modules-extra-4.15.0-65-generic linux-modules-extra-4.15.0-66-generic linux-modules-extra-4.15.0-69-generic linux-modules-extra-4.15.0-70-generic linux-modules-extra-4.15.0-72-generic Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: eclipse* 0 upgraded, 0 newly installed, 1 to remove and 119 not upgraded. After this operation, 125 kB disk space will be freed. Do you want to continue? [Y/n] Y (Reading database ... 439192 files and directories currently installed.) Removing eclipse (3.8.1-8) ...
Step 3: Completely remove libraries files from the Eclipse folder in usr path.
rm -r /usr/lib/eclipse
After that check still, Eclispse in your’s desktop then proceeds with manually removing in Ubuntu.
Manually Removing Eclipse in Ubuntu:
Still, it showing Eclipse in Ubuntu then will go follow below steps:
Step 1: Open “Ubuntu Software”
Step 2: Search using keyword”Eclipse” then it showing like below snapshot.
Step 3: Asked the Remove or not. Click on “Yes” then proceed.
Step 4:In case asks system password then type “Root-Password” click “OK” button.