How to Install Eclipse IDE on Ubuntu 20.04

Install Eclipse IDE on Ubuntu 20.04

In this article, we will have explained the necessary steps to install and configure Eclipse IDE on Ubuntu 20.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Eclipse is an integrated development environment (IDE) used in computer programming. Eclipse really is the best IDE for Java applications development. Most of the Java programmers preferred to use Eclipse for the Development environment. It is also used for developing applications in various programming languages such as COBOL, Ada, C, C++, Perl, PHP, Python, R, Ruby, Clojure, Scala, Groovy, and Scheme with the help of plug-ins.

Install Eclipse IDE on Ubuntu 20.04

Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.

sudo apt update
sudo apt upgrade

Step 2. Install Java.

Eclipse requires Java JDK 8 or newer to be available on your system. Run the following command to install Java:

sudo apt install openjdk-11-jdk

You can check your java version by running the following command:

java -version

Step 3. Install Eclipse on Ubuntu system.

Ubuntu 20.04 preferred to use snap for package installation instead of using apt the package manager. Run the following command to install Eclipse IDE:

sudo snap install eclipse --classic

Step 4. Starting Eclipse.

Now that Eclipse is installed on your Ubuntu system you can start it by clicking on the Eclipse icon (Activities -> Eclipse) or type the following command in the terminal:


That’s all you need to do to install Eclipse on Ubuntu 20.04 Focal Fossa. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.