Table of Contents
Install Eclipse IDE on Ubuntu 18.04
Eclipse is the most widely used Java IDE (Integrated Development Environment). The Eclipse IDE is written in C and Java. It supports multiple languages like C, C++, Java, PHP, Ruby, etc. for development. Eclipse comes with a variety of features and you can also extend it using plugins. In this tutorial, you are going to learn How to Install Eclipse IDE on Ubuntu 18.04.
Before you start to install Eclipse IDE on Ubuntu 18.04. You must have the non-root user account on your system with sudo privileges.
Install Snappy Package Manager
Snappy provides better package management support for Ubuntu 18.04. It’s quick and easy to use. To install Snappy package manager type following command. If its already installed on the system skip to next step
NOTE: Ubuntu may have already installed Snappy package manager.
sudo apt install snapd snapd-xdg-open
Install Eclipse on Ubuntu
Follow below instructions to install Eclipse on Ubuntu 18.04
Eclipse requires Java to be installed on your system. Run
java --version command to check if Java is installed on your system. If your system doesnt have Java installed on then install it by using the following command:
sudo apt install default-jre
Now to install Eclipse on your Ubuntu system, run following
sudo snap install --classic eclipse
After completing the above command you have successfully installed Eclipse on your Ubuntu system.
You can run the following command to start Eclipse on Ubuntu.
You can also visit
Activities -> Eclipse to start Eclipse IDE:
Now it will ask you to select workspace directory, as you are running Eclipse IDE for first time. You can click on Launch or you can change the directory. Then you will see following screen:
You have successfully learned how to Install Eclipse IDE on Ubuntu 18.04. If you have any queries regarding this then please don’t forget to comment below.