How to Install Eclipse IDE on Linux?

Eclipse IDE arguably has its place among the top IDEs developers use in today’s DevOps landscape, and rightfully so. Eclipse IDE is a cross-platform IDE with flavors that work on Windows, Linux, and macOS.

When you install Eclipse IDE, there are several profiles to choose from, and chances are, there’s one that fits your preferences. If you’re wondering how to install Eclipse IDE Linux version, you’re in luck because this post will show you several ways to install Eclipse IDE.

All you need is a Linux computer. This post will use an Ubuntu Desktop 20.04, but the process should also work with other distros.

Method 1: Install Eclipse IDE Linux as a Snap

A Snap package contains all the requirements or dependencies for an app to work. Installing a Snap means you don’t need to worry about its compatibility with your system because everything it needs is already prepackaged and consistent in every install.

More importantly, the background service called snapd manages the automatic updates of your Snaps. This way, you’ll always have the latest available Snap version of the application without running manual updates.

But, when you install Eclipse IDE Linux Snap, the version may be behind the official release. The Snap publishing may happen at different times than the official Eclipse IDE release.

To install Eclipse IDE Linux as a Snap, follow these steps.

  1. Open a terminal on your Linux machine.
  2. Check if snapd is installed:
    snapd --version

    install eclipse linux

  3. If snapd is not installed, install it by running this command:
    sudo apt install -y snapd
  4. Once snapd is installed, run the snap command to install Eclipse IDE:
    snap install eclipse --classic

    Wait for the installation to finish.
    install eclipse ubuntueclipse ubuntu

Method 2: Install Eclipse IDE Linux using the Eclipse Installer Package

  1. Open a browser and visit the Eclipse IDE downloads page.
  2. Look for the Linux link and click to download the installer.
    eclipse ide linux
  3. On the next page, click Download.
    eclipse ide ubuntu
  4. Choose to save the file and click OK.
    eclipse ubuntu 20.04install eclipse ide on linux
  5. Once downloaded, open a terminal window and change the working directory to your Downloads folder:
    cd ~/Downloads
  6. Next, extract the installer by running the following command. This command will extract the file using gzip and show the progress on the screen.
    tar -xvzf eclipse-inst-jre-linux64.tar.gz

    As you can see below, the installer extracts to the eclipse-installer subfolder.
    install eclipse ide linux

  7. Now, change the working directory to the eclipse-installer location and run the installer:
    cd eclipse-installer/ 

    install eclipse ide on linux

  8. Once the Eclipse installer is up, you can choose the installation profile. The options include:
    • Eclipse IDE for Java Developers.
    • Eclipse IDE for Enterprise Java and Web Developers
    • Eclipse IDE for C/C++ Developers
    • Eclipse IDE for Embedded C/C++ Developers

      Choose the Eclipse IDE profile you wish to install. This example will choose the one for Java Developers.
      eclipse ide devops

  9. Choose the Java version and specify the installation folder. In most cases, you don’t need to change the default values. Click Install to proceed.
    eclipse linux install
  10. The License agreement page pops up. Review (or not) the license document and click Accept Now.
    eclipse ide linux installation
    The Eclipse IDE install will begin. The duration will vary depending on your internet speed and system capacity. The process downloads the artifacts online, such as the Java installation files.
    eclipse ide ubuntu installation
  11. Once finished, you can launch Eclipse IDE by clicking on the big green Launch button.
    eclipse ide installation on linux

Starting Eclipse IDE for the First Time

Regardless of how you install Eclipse IDE, the methods of launching it are consistent.

You can launch Eclipse IDE from the Applications shortcut.

how to install eclipse ide on ubuntu

From the Desktop shortcut.

how to install eclipse ide on linux

Or from the terminal (not applicable if Eclipse IDE was installed using the Eclipse installer).


Once the Eclipse IDE Launcher appears, specify the path for the workspace that will contain the preferences and development artifacts. To avoid being prompted for the same information in the future, check the Use this as the default and do not ask again box, and click Launch.

how to install eclipse linux

And that’s it! You’ve successfully finished the Eclipse Ubuntu installation.

eclipse ubuntu 20.04


As you have learned, to install Eclipse IDE is not a complicated task. In fact, the variety of installation methods gives you the confidence to install it using the tool you’re comfortable with.

Either installation method will give you virtually the same result, with very minor differences. But if you want Eclipse IDE to update automatically, go with the Snap installation method. If you want more control over when and how to install the latest Eclipse IDE version, then the Eclipse installer path is for you.

Cyril Kardashevsky

Leave a Reply

Your email address will not be published. Required fields are marked *