How to Install Eclipse IDE in CentOS, RHEL and Fedora

In this tutorial, we’ll cover the installation process of the latest edition of Eclipse IDE 2020‑06 in CentOS, Red Hat, and Fedora-based Linux distributions.

Eclipse is a free integrated development environment IDE used by programmers world-wide to write and develop Java applications mostly. However, Eclipse IDE can support a large variety of compilers and programming languages via installed plugins that extend its functionality.

The latest release of Eclipse IDE 2020‑06 doesn’t come with pre-build binary packages specific for RHEL or CentOS-based Linux distributions. Instead, you can install Eclipse IDE in CentOS, Fedora or other Red Hat Linux based distributions via tarball installer file.

Requirements:

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

Install Eclipse IDE in CentOS, RHEL and Fedora

A Java 9 or higher version is required to install Eclipse IDE and the simplest way to install Oracle Java JDK from the default repositories.

# yum install java-11-openjdk-devel
# java -version

Next, open a browser, navigate to Eclipse’s official download page and download the latest version of the tar package specific for your installed Linux distribution architecture.

Alternatively, you can also download the Eclipse IDE 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 and issue the below commands to start installing Eclipse IDE.

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

The 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 Fedora

Snap is a software package management that is used to install third-party packages on the Fedora Linux distribution, you can use snap to install Eclipse IDE on Fedora using the following commands.

$ sudo dnf install snapd
$ sudo ln -s /var/lib/snapd/snap /snap
$ snap search eclipse
$ sudo snap install --classic eclipse

Congratulations! You’ve successfully installed the latest version of Eclipse IDE in your Red Hat Linux based system.

Two small things before you go

If something didn’t work on your setup, leave a comment and tell me which distro and version you’re on. I read every one, and most of these articles got better because a reader pointed out what was missing.

And if it did work, share it. TecMint has stayed free for 14 years because people pass these articles around, and that traffic is what pays for writing the next one.

Leave a comment
Get two free Linux courses

Learn the Linux basics with two free courses and join 34,000+ readers getting practical TecMint tutorials and selected Pro TecMint articles every week.

Pro TecMint
Get lifetime access for $99

If you want to go beyond the free tutorials, Pro gives you 18 courses, 5 ebooks, and every future course I add. One payment, lifetime access, no renewals.

Matei Cezar
Matei Cezar
Contributor
About the author

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

16 Comments

Leave a Reply
    • @Sachin,
      Sorry to hear that, actually this article is too old and haven’t been updated yet. Thanks for informing about that broken link, we will update the article by today so that you guys can have latest version installed on your systems..

      Reply
  1. I got these lines. Dont know what to do… Please help

    /usr/bin/eclipse: line 1: [Desktop: command not found
    /usr/bin/eclipse: line 4: SDK: command not found
    /usr/bin/eclipse: line 9: Application: command not found
    /usr/bin/eclipse: line 9: Development: command not found

    Reply
  2. Need help, when I start eclispe displays this message “Error during initialization of VM
    Could not reserve enough space for object heap “… help me are my first steps … I’m running the Linux operating system in a virtual machine might be that the problem?

    Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.