You can support us by downloading this article as PDF from the Link below. Download the guide as PDF

Eclipse IDE is one of the most adopted development environment tool for Developers. The most popular Eclipse product is Java Integrated Development Environment (IDE), but there are other pretty cool IDEs, including our C/C++ IDE, JavaScript/TypeScript IDE, PHP IDE, and more. In this short tutorial we will be looking at how you can install Eclipse IDE on CentOS 8 | RHEL 8 Linux system.

The Eclipse IDE package is not available in CentOS 8 | RHEL 8 Linux system default repositories. If you do a search for eclipse package you’ll not get any results matching IDE.

$ sudo dnf search eclipse
Last metadata expiration check: 0:44:07 ago on Thu 17 Sep 2020 10:32:43 AM EAT.
=========================== Summary Matched: eclipse ===========================
ee4j-parent.noarch : Parent POM file for Eclipse Enterprise for Java projects

On RHEL 8 you can get eclipse package by enabling the eclipse module:

sudo dnf module enable eclipse
sudo dnf install -y eclipse

Step 1: Install Java Runtime on CentOS 8 | RHEL 8

Java is required to run Eclipse IDE on CentOS | RHEL 8 Linux machine. You can easily install Java using the following commands:

sudo yum -y install java-11-openjdk-devel

Once Java is installed, confirm the version with java command line tool.

$ java -version
openjdk version "11.0.8" 2020-07-14 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.8+10-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.8+10-LTS, mixed mode, sharing)

If you want to change the default version of version use the alternatives command:

sudo alternatives --config java

Step 2: Install Eclipse IDE on CentOS 8 | RHEL 8

There are two common methods of installing Eclipse IDE on CentOS 8 | RHEL 8. One is using the installer and the other one is manually.

Method 1: Using Eclipse Installer Script

Download the Linux installer script.


Extract the installer:

$ tar xvf eclipse-inst-linux64.tar.gz

Change to the project folder and run the installer script.

$ cd eclipse-installer/
$ ./eclipse-inst

The installation window should be presented to you.

Choose the Eclipse IDE to install on CentOS 8/RHEL 8.

Set the installation folder and agree to create start menu entry.

You can then launch Eclipse IDE from your applications menu.

Method 2: Install Eclipse IDE on CentOS 8 | RHEL 8 Manually

The next step is downloading Eclipse IDE on CentOS 8 | RHEL 8 system. Check the latest releases on the downloads page. You can choose from Java, C/C++, PHP, Web and JavaScript e.t.c.

--- Java IDE ---

--- PHP IDE ---

--- C/C++ IDE ---

Once the file has been downloaded, extract it.

tar xvf eclipse-java-2020-09-R-linux-gtk-x86_64.tar.gz

Move the resulting folder to /opt directory:

sudo mv eclipse /opt

Create a Symlink for the Eclipse executable.

sudo ln -sf /opt/eclipse/eclipse /usr/bin/eclipse

Create a Gnome Launcher menu.

sudo tee /usr/share/applications/eclipse.desktop<<EOF
[Desktop Entry]
Name=Eclipse IDE
Comment=Eclipse IDE

Then launch the application from the terminal or Desktop Applications menu.

$ eclipse

Check below Java & PHP programming courses:

in stock
in stock
in stock
in stock
You can support us by downloading this article as PDF from the Link below. Download the guide as PDF


Please enter your comment!
Please enter your name here