Eclipse: Difference between revisions

Created page with "Eclipse is one such IDE that is primarily used for Java development. It can also be used with other languages, such as — C++, PHP, etc. Other languages support can be added on top of an existing installation or they can be installed as separate Eclipse packages. You can use other modern open-source code editors for programming but if you ask me, I’ll always vote for Eclipse. And so, today we are going see how we can install the latest version o..."
 
Line 15: Line 15:
We also have a guide on using snap packages if you are not sure about the support for snap packages for your Linux distributions.
We also have a guide on using snap packages if you are not sure about the support for snap packages for your Linux distributions.


If you proceed to install it via the terminal, here’s what you have to type in:
If you proceed to install it via the terminal, here’s what you have to type in:<syntaxhighlight lang="bash">
<code>sudo snap install eclipse --classic</code>
sudo snap install eclipse --classic
</syntaxhighlight>


=== Method 2: Installing Eclipse from the official package (Slightly Complicated) ===
=== Method 2: Installing Eclipse from the official package (Slightly Complicated) ===
Line 33: Line 34:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
sudo tar -xvzf ~/Downloads/eclipse-jee-2019-09-R-linux-gtk-x86_64.tar.gz
sudo tar -xvzf ~/Downloads/eclipse-jee-2019-09-R-linux-gtk-x86_64.tar.gz
</syntaxhighlight>Next, you have to extract the downloaded package to this directory by entering the following command:
</syntaxhighlight>
 
* Now after extracting the files, we have to make a menu entry (so that when you search for Eclipse, an icon will come up in the app drawer). Here’s what to enter next:
* Now after extracting the files, we have to make a menu entry (so that when you search for Eclipse, an icon will come up in the app drawer). Here’s what to enter next:
<syntaxhighlight lang="basemake">
<syntaxhighlight lang="basemake">
Line 56: Line 55:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
sudo desktop-file-install eclipse.desktop
sudo desktop-file-install eclipse.desktop
</syntaxhighlight>And, that’s it!
</syntaxhighlight>


And, that’s it!
=== Method 3: Installing Eclipse from Flathub ===
<syntaxhighlight lang="bash">
flatpak install flathub org.eclipse.Java
</syntaxhighlight>


== Source ==
== Source ==
Line 64: Line 66:
* [https://itsfoss.com/install-latest-eclipse-ubuntu/ itsfoss.com]
* [https://itsfoss.com/install-latest-eclipse-ubuntu/ itsfoss.com]
* [https://www.eclipse.org/downloads/packages eclipse.org]
* [https://www.eclipse.org/downloads/packages eclipse.org]
[[Category:Tutorial]]
[[Category:Software]]
[[Category:Android]]
[[Category:Linux]]