{"id":33702,"date":"2021-05-07T13:54:12","date_gmt":"2021-05-07T13:54:12","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=33702"},"modified":"2025-01-02T02:26:33","modified_gmt":"2025-01-02T02:26:33","slug":"install-eclipse-ide-ubuntu-21-04-20-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2021\/05\/install-eclipse-ide-ubuntu-21-04-20-04\/","title":{"rendered":"How to Install (Remove) Eclipse IDE in Ubuntu 22.04, 20.04 the official way"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7795\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/05\/eclipse-icon245.png\" alt=\"\" width=\"245\" height=\"250\" \/><\/p>\n<p>This is a step by step guide shows how to install the Eclipse IDE in Ubuntu 24.04, Ubuntu 22.04, Ubuntu 22.04, and their based systems, such as Linux Mint 22\/21.<\/p>\n<p>For Java developers, Eclipse is easy to install in Ubuntu through Snap package from either App Center or Ubuntu Software (for 22.04 and earlier). Though it runs in sandbox environment.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/eclipse-snap.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47884\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/eclipse-snap-700x421.webp\" alt=\"\" width=\"610\" height=\"367\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/eclipse-snap-700x421.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/eclipse-snap-300x180.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/eclipse-snap-768x462.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/eclipse-snap.webp 1085w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>If you want to use Eclipse for C\/C++, PHP, or other language developing, or you don&#8217;t like running in sandbox, then you may use the official installer.<\/p>\n<h3>1. Download &amp; start Eclipse Installer:<\/h3>\n<p>Firstly go to the official download page, and grab the installer:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/www.eclipse.org\/downloads\/\" target=\"_blank\" rel=\"noreferrer noopener\">Download Eclipse<\/a><\/div>\n<\/div>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/download-eclipse.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46259\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/download-eclipse-700x375.webp\" alt=\"\" width=\"610\" height=\"327\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/download-eclipse-700x375.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/download-eclipse-300x161.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/download-eclipse-768x411.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/download-eclipse.webp 1137w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Then extract the tarball, and navigate into the result folder. Right-click and select &#8220;Run&#8221; the <i>eclipse-inst<\/i> file to start the installer.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/run-eclipse-inst.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47880\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/run-eclipse-inst-700x457.webp\" alt=\"\" width=\"610\" height=\"398\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/run-eclipse-inst-700x457.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/run-eclipse-inst-300x196.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/run-eclipse-inst-768x501.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/run-eclipse-inst.webp 1074w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>For choice, you may right-click on blank area in that folder and select &#8220;<b>Open in Terminal<\/b>&#8220;, then run <code style=\"border: none;\">.\/eclipse-inst<\/code> command in the pop-up terminal instead:<\/p>\n<h3>2. Install Eclipse:<\/h3>\n<p>When the installer wizard opens, choose &#8220;Eclipse for Java Developers&#8221;, &#8220;Eclipse for C\/C++ Developers&#8221;, or other options depends on which you want to install.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/eclipse-wizard.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-47882\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/eclipse-wizard.webp\" alt=\"\" width=\"497\" height=\"637\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/eclipse-wizard.webp 497w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/eclipse-wizard-234x300.webp 234w\" sizes=\"auto, (max-width: 497px) 100vw, 497px\" \/><\/a><\/p>\n<p>Next, choose either a local Java VM (if installed) or select download one from web, and change installation folder if you want (default selections are OK). Finally, click on &#8220;Install&#8221; button, and accept the license to start installing the IDE:<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/eclipse-startinstall.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-47883\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/eclipse-startinstall.webp\" alt=\"\" width=\"497\" height=\"637\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/eclipse-startinstall.webp 497w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/eclipse-startinstall-234x300.webp 234w\" sizes=\"auto, (max-width: 497px) 100vw, 497px\" \/><\/a><\/p>\n<p>The software is by default installed to the user home folder for single user use. Once installed, you can launch it either from system application launcher or the desktop shortcut (<i>need to first right-click and choose &#8220;Allow Launching&#8221;<\/i>).<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/launch-eclipse.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-33709\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/launch-eclipse-600x264.jpg\" alt=\"\" width=\"600\" height=\"264\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/launch-eclipse-600x264.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/launch-eclipse-300x132.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/launch-eclipse.jpg 611w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>How to Remove Eclipse Completely:<\/h3>\n<p>The software is installed by default in user&#8217;s home directory. Simply open the file manager, and remove the eclipse folder and eclipse-workspace folder.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/remove-eclipse-folder.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-33710\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/remove-eclipse-folder-600x327.jpg\" alt=\"\" width=\"600\" height=\"327\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/remove-eclipse-folder-600x327.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/remove-eclipse-folder-300x164.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/remove-eclipse-folder-768x419.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/remove-eclipse-folder.jpg 1100w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>For the desktop shortcut, just move it to trash. For the app icon in start menu, press <b>Ctrl+Alt+T<\/b> to open terminal and run commands:<\/p>\n<ul>\n<li>navigate to app shortcut folder for local user:\n<pre style=\"border: none;\">cd .local\/share\/applications\/<\/pre>\n<\/li>\n<li>remove all Eclipse related desktop entry files:\n<pre style=\"border: none;\">rm *eclipse*.desktop epp*.desktop<\/pre>\n<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/remove-eclipse-icons.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-33711\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/remove-eclipse-icons-600x267.jpg\" alt=\"\" width=\"600\" height=\"267\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/remove-eclipse-icons-600x267.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/remove-eclipse-icons-300x133.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/remove-eclipse-icons-768x341.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/05\/remove-eclipse-icons.jpg 815w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>This is a step by step guide shows how to install the Eclipse IDE in Ubuntu 24.04, Ubuntu 22.04, Ubuntu 22.04, and their based systems, such as Linux Mint 22\/21. For Java developers, Eclipse is easy to install in Ubuntu through Snap package from either App Center or Ubuntu Software (for 22.04 and earlier). Though [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":33703,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1102],"class_list":["post-33702","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-eclipse"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/33702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=33702"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/33702\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/33703"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=33702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=33702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=33702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}