How to Install Eclipse IDE in Debian and Ubuntu

Eclipse is a free integrated development environment IDE that 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 Eclipse IDE 2020‑06 doesn’t come with pre-build binary packages specific for Debian based Linux distributions. Instead, you can install Eclipse IDE in Ubuntu or Debian based Linux distributions via the compressed installer file.

In this tutorial, we will learn how to install the latest edition of Eclipse IDE 2020‑06 in Ubuntu or in Debian based Linux distributions.

Requirements:

  1. A Desktop machine with a minimum of 2GB of RAM.
  2. Java 9 or higher installed in Debian based distributions.

Install Eclipse IDE in Debian and Ubuntu

A Java 9 or newer JRE/JDK is required to install Eclipse IDE and the easiest way to install Oracle Java JDK using third party PPA as shown.

Install Java on Ubuntu/Debian

$ sudo apt install default-jre

For installing Eclipse IDE in your system, first, open a browser and go to Eclipse’s official download page and download the latest version of the tar package specific to your installed Linux distribution architecture.

Alternatively, you can also download the Eclipse IDE tarball installer file in your system via wget utility, by issuing the below command.

$ wget http://ftp.yz.yamagata-u.ac.jp/pub/eclipse/oomph/epp/2020-06/R/eclipse-inst-linux64.tar.gz

After the download completes, navigate to the directory where the archive package has been downloaded, usually Downloads directories from your home, and issue the below commands to start installing Eclipse IDE.

$ tar -xvf eclipse-inst-linux64.tar.gz 
$ cd eclipse-installer/
$ sudo ./eclipse-inst

The new Eclipse Installer lists the IDE’s available to Eclipse users. You can choose and click on the IDE package you want to install.

List of Eclipse IDE's to Install
List of Eclipse IDE’s to Install

Next, choose the folder where you want Eclipse to be installed.

Choose Eclipse IDE Installation Folder
Choose Eclipse IDE Installation Folder

Once the installation is finished you can now launch Eclipse.

Launch Eclipse IDE
Launch Eclipse IDE
Eclipse IDE
Eclipse IDE

Install Eclipse IDE via Snap on Ubuntu

Snap is a software deployment and package management system to manage packages on Linux distribution, you can use snap to install Eclipse IDE on Ubuntu 18.04 or newer using the following commands.

$ sudo apt install snapd
$ sudo snap install --classic eclipse

After installing Eclipse, navigate to the Activities Overview and search for Eclipse and launch it…

That’s all! The latest version of Eclipse IDE is now installed in your system. Enjoy programming with Eclipse IDE.

If you liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? do ask for help in the comments section.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

3 thoughts on “How to Install Eclipse IDE in Debian and Ubuntu”

  1. Hello,

    I am using Debian-Linux, not Ubuntu. However, when I tried to complete the Launcher Properties window, it did not launch the Eclipse application due to /usr/share/applications/eclipse is not a valid executable line.

    Please email me if you can find a solution for this problem. Thank you very much.

    Reply
    • @LocTheLe,

      I’ve updated the article and included latest installation instructions of Eclipse Photon and Oxygen IDE. Also you can install Eclipse using Snap as shown in the article.

      Reply

Got something to say? Join the discussion.

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.