{"id":12745,"date":"2019-03-28T17:38:04","date_gmt":"2019-03-28T17:38:04","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=12745"},"modified":"2019-03-28T17:38:04","modified_gmt":"2019-03-28T17:38:04","slug":"how-to-install-eclipse-photon-ide-in-debian-and-ubuntu","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/28\/how-to-install-eclipse-photon-ide-in-debian-and-ubuntu\/","title":{"rendered":"How to Install Eclipse Photon IDE in Debian and Ubuntu"},"content":{"rendered":"<p><strong>Eclipse<\/strong>\u00a0is a free integrated development environment\u00a0<strong>IDE<\/strong>\u00a0which is used by programmers around to write software mostly in Java but also in other major programming languages via Eclipse plugins.<\/p>\n<p>The latest release of\u00a0<strong>Eclipse Photon IDE<\/strong>\u00a0doesn\u2019t come with pre-build binary packages specific for Debian based Linux distributions. Instead, you can install\u00a0<strong>Eclipse IDE<\/strong>\u00a0in\u00a0<strong>Ubuntu<\/strong>\u00a0or Debian based Linux distributions via the compressed tar archive file.<\/p>\n<p>In this tutorial we will learn how to install the latest edition of\u00a0<strong>Eclipse Photon IDE<\/strong>\u00a0in\u00a0<strong>Ubuntu<\/strong>\u00a0or in\u00a0<strong>Debian<\/strong>\u00a0based Linux distributions.<\/p>\n<h4>Requirements:<\/h4>\n<ol>\n<li>A Desktop machine with minimum 2GB of RAM.<\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/install-java-in-debian-and-ubuntu\/\" target=\"_blank\" rel=\"noopener\">Java 9 SE SDK<\/a>\u00a0installed in\u00a0<strong>Debian<\/strong>\u00a0based distributions.<\/li>\n<\/ol>\n<h3>Install Eclipse IDE in Debian and Ubuntu<\/h3>\n<p>A\u00a0<strong>Java 8<\/strong>\u00a0or newer\u00a0<strong>JRE\/JDK<\/strong>\u00a0is required to install\u00a0<strong>Eclipse Photon IDE<\/strong>\u00a0and the easiest way to install Oracle Java JDK using third party PPA as shown.<\/p>\n<h4>Install Java 8 on Ubuntu\/Debian<\/h4>\n<pre>$ sudo add-apt-repository ppa:webupd8team\/java\r\n$ sudo apt-get update\r\n$ sudo apt-get install oracle-java8-installer\r\n<\/pre>\n<h4>Install Java 9 on Ubuntu\/Debian<\/h4>\n<pre>$ sudo add-apt-repository ppa:webupd8team\/java\r\n$ sudo apt-get update\r\n$ sudo apt-get install oracle-java9-installer\r\n<\/pre>\n<h4>Install Java 10 on Ubuntu\/Debian<\/h4>\n<pre>$ sudo add-apt-repository ppa:linuxuprising\/java\r\n$ sudo apt update\r\n$ sudo apt install oracle-java10-installer<\/pre>\n<p>For installing\u00a0<strong>Eclipse IDE<\/strong>\u00a0in your system, first open a browser and go to\u00a0<a href=\"https:\/\/www.eclipse.org\/downloads\/eclipse-packages\/\" target=\"_blank\" rel=\"nofollow noopener\">Eclipse official download<\/a>\u00a0page and download the latest version of the tar package specific to your installed Linux distribution architecture.<\/p>\n<h4>Installing Eclipse Photon IDE in Ubuntu\/Debian<\/h4>\n<p>Alternatively, you can also download\u00a0<strong>Eclipse IDE<\/strong>\u00a0tarball file in your system via\u00a0<a href=\"https:\/\/www.tecmint.com\/10-wget-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener\">wget utility<\/a>, by issuing the below command.<\/p>\n<pre><strong>-------------- For 64-bit Architecture --------------<\/strong> \r\n$ wget http:\/\/ftp.fau.de\/eclipse\/technology\/epp\/downloads\/release\/photon\/R\/eclipse-jee-photon-R-linux-gtk-x86_64.tar.gz\r\n\r\n<strong>-------------- For 32-bit Architecture --------------<\/strong>\r\n$ wget http:\/\/ftp.fau.de\/eclipse\/technology\/epp\/downloads\/release\/photon\/R\/eclipse-jee-photon-R-linux-gtk.tar.gz\r\n<\/pre>\n<h4>Installing Eclipse Oxygen IDE in Ubuntu\/Debian<\/h4>\n<pre><strong>-------------- For 64-bit Architecture --------------<\/strong> \r\n$ wget http:\/\/ftp.fau.de\/eclipse\/technology\/epp\/downloads\/release\/oxygen\/R\/eclipse-jee-oxygen-R-linux-gtk-x86_64.tar.gz\r\n\r\n<strong>-------------- For 32-bit Architecture --------------<\/strong>\r\n$ wget http:\/\/ftp.fau.de\/eclipse\/technology\/epp\/downloads\/release\/oxygen\/R\/eclipse-jee-oxygen-R-linux-gtk.tar.gz\r\n<\/pre>\n<p>After the download completes, navigate to the directory where the archive package has been downloaded, usually\u00a0<strong>Downloads<\/strong>\u00a0directories from your home, and issue the below commands to start installing\u00a0<strong>Eclipse Photon IDE<\/strong>.<\/p>\n<p>The commands executed below will decompress the archive directly into\u00a0<code>\/opt<\/code>\u00a0directory and create a symlink into an executable path for eclipse executable file.<\/p>\n<pre>$ cd Downloads\/\r\n$ sudo tar xfz eclipse-jee-photon-R-linux* -C \/opt\/  [For Photon]\r\n$ sudo tar xfz eclipse-jee-oxygen-R-linux* -C \/opt\/  [For Oxygen]\r\n$ ls \/opt\/eclipse\/\r\n$ sudo ln -s \/opt\/eclipse\/eclipse \/usr\/local\/sbin\/eclipse\r\n$ ls -l \/usr\/local\/sbin\/\r\n<\/pre>\n<p>Next, create\u00a0<strong>Eclipse<\/strong>\u00a0desktop launcher icon into system applications directory.<\/p>\n<pre>$ sudo nano \/usr\/share\/applications\/eclipse.desktop\r\n<\/pre>\n<p>Add the following configuration into the file\u00a0<strong>eclipse.desktop<\/strong>.<\/p>\n<pre>[Desktop Entry]\r\nName=Eclipse IDE\r\nComment=Eclipse IDE\r\nType=Application\r\nEncoding=UTF-8\r\nExec=\/usr\/local\/sbin\/eclipse\r\nIcon=\/opt\/eclipse\/icon.xpm\r\nCategories=GNOME;Application;Development;\r\nTerminal=false\r\nStartupNotify=true\r\n<\/pre>\n<p>After you\u2019ve created\u00a0<strong>Eclipse<\/strong>\u00a0launcher, use\u00a0<strong>Ubuntu dash<\/strong>\u00a0to search and open the application. On the first application launch, add\u00a0<strong>Eclipse<\/strong>\u00a0workspace directory and hit on\u00a0<strong>Launch<\/strong>\u00a0button to start the application.<\/p>\n<div id=\"attachment_28696\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/02\/Create-Eclipse-IDE-Desktop-Workspace.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-28696\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/02\/Create-Eclipse-IDE-Desktop-Workspace.png\" alt=\"Create Eclipse IDE Desktop Workspace\" width=\"623\" height=\"347\" aria-describedby=\"caption-attachment-28696\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-28696\" class=\"wp-caption-text\">Create Eclipse IDE Desktop Workspace<\/p>\n<\/div>\n<div id=\"attachment_28697\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/02\/Eclipse-IDE-on-Ubuntu.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-28697\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/02\/Eclipse-IDE-on-Ubuntu.png\" sizes=\"auto, (max-width: 1360px) 100vw, 1360px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/02\/Eclipse-IDE-on-Ubuntu.png 1360w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/02\/Eclipse-IDE-on-Ubuntu-768x434.png 768w\" alt=\"Eclipse IDE on Ubuntu\" width=\"1360\" height=\"768\" aria-describedby=\"caption-attachment-28697\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-28697\" class=\"wp-caption-text\">Eclipse IDE on Ubuntu<\/p>\n<\/div>\n<h3>Install Eclipse Photon via Snap on Ubuntu<\/h3>\n<p><strong>Snap<\/strong>\u00a0is software deployment and package management system to manage packages on Linux distribution, you can use snap to install\u00a0<strong>Eclipse Photon<\/strong>\u00a0edition on\u00a0<strong>Ubuntu 18.04<\/strong>\u00a0or newer using the following commands.<\/p>\n<pre>$ sudo apt install snapd\r\n$ sudo snap install --classic eclipse<\/pre>\n<p>After install\u00a0<strong>Eclipse<\/strong>, navigate to the\u00a0<strong>Activities Overview<\/strong>\u00a0and search for\u00a0<strong>Eclipse<\/strong>\u00a0and launch it\u2026<\/p>\n<p>That\u2019s all! The latest version of\u00a0<strong>Eclipse IDE<\/strong>\u00a0is now installed in your system. Enjoy programming with\u00a0<strong>Eclipse Photon<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/install-eclipse-ide-in-ubuntu-debian\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Eclipse\u00a0is a free integrated development environment\u00a0IDE\u00a0which is used by programmers around to write software mostly in Java but also in other major programming languages via Eclipse plugins. The latest release of\u00a0Eclipse Photon IDE\u00a0doesn\u2019t come with pre-build binary packages specific for Debian based Linux distributions. Instead, you can install\u00a0Eclipse IDE\u00a0in\u00a0Ubuntu\u00a0or Debian based Linux distributions via the &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/28\/how-to-install-eclipse-photon-ide-in-debian-and-ubuntu\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Install Eclipse Photon IDE in Debian and Ubuntu&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-12745","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=12745"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12745\/revisions"}],"predecessor-version":[{"id":12746,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12745\/revisions\/12746"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=12745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=12745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=12745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}