How to install eclipse on ubuntu

How to install eclipse on ubuntu

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:

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

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.

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.

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.

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu List of Eclipse IDE’s to Install

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

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu Choose Eclipse IDE Installation Folder

Once the installation is finished you can now launch Eclipse.

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu Launch Eclipse IDE How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu 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.

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 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.

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

We are thankful for your never ending support.

How to install Eclipse IDE on Ubuntu

There are two main methods to install Eclipse that are as follows. This article will provide you with extensive details of how you can install this application on Ubuntu: Installation using the terminal, Installation using the GUI.

How to install Eclipse using terminal

Before the installation of Eclipse IDE, you first need to install java in the runtime environment (JRE). The reason is that it is based on a Java application, and you can’t run it without installing JRE. You can install JRE by typing.

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

After installing the JRE the next step is to install the snap package manager if it is not available on your system by default and you can do that by typing the following command in the terminal.

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

After verifying and installing the snap package manager, you are ready to install the Eclipse ide.

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

How to install Eclipse using the GUI

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

Extraction using the terminal: Extracting the file using a terminal will place the extracted content in the home directory, for that you need to type the following command in the terminal.

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

Extraction using the GUI: If you want to extract using the GUI then you need to right-click on the file and select the extract option from there as displayed below.

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

Installation using the GUI: In this method you need to execute the “eclipse-inst” that you can find in the extracted folder as shown below that will initiate its setup.

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

Installation using the terminal: In this method, you first need to access the folder where the extracted files are available and you can do that by typing.

After that, you need to execute the “eclipse-inst” file by typing the below-mentioned command in the terminal that will initiate its setup.

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

This will open multiple options for the installation process and you can choose any of them as per your requirements. In our case, we have selected the first option which is “Eclipse for IDE Java Developers” and after its installation, you can open it either by typing eclipse in the terminal or clicking on the Applications tab and looking for the Eclipse application on the search bar as displayed below.

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

After opening this application, you will see its home screen with multiple options and features and you can use them accordingly.

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

How to uninstall Eclipse IDE in Ubuntu

If you want to uninstall this application then you can do that by clicking on the Ubuntu software application tab and then looking for the eclipse application in the installed tab as shown below. Select this application and then click on the remove button to uninstall this application.

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

This method is for apps that are installed using Ubuntu software center.

There is another method to uninstall the eclipse application by using the snap manager by typing the following command in the terminal.

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

The above method is for software installed using snap manager.

Conclusion

Eclipse IDE is a great tool to build programs based on the Java programming language. It comes with a variety of plugins and extensions to enhance the usefulness of your programming experience, as well as all of the essential tools for writing and testing software. In this article, we have discussed two different methods on how you can install the Eclipse IDE on Ubuntu. The first one is by using a snap manager and the second one is by using a GUI. You can follow either of them and can install this application.

How to Install Eclipse IDE on Ubuntu 20.04

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

Eclipse is one of the most popular open-source IDE (Integrated Development Environment) for software developers. It is popular for Java-based applications, also used for C/C++, PHP, and Perl and other web projects.

Eclipse is a really powerful IDE that supports many programming languages. It provides numerous plugins and extensions for enhancing the functionality of your Eclipse such as source code version control (git, svn), class diagram generator, GUI builder.

This tutorial will show you 2 methods to install Eclipse on Ubuntu 20.04 LTS machine.

Prerequisites

In order to install Eclipse IDE, you have to install JRE (Java Runtime Environment) on your Ubuntu machine:

To verify that Java was successfully installed, let’s run:

Install Eclipse by installer package [Method 1]

At the time of this writing, the latest version of Eclipse is: Eclipse IDE 2020-06. Eclipse can be downloaded via the browser on its official website https://www.eclipse.org/downloads/

By default, the installer package is downloaded into the directory ‘

/Downloads’ with name: ‘eclipse-inst-linux64.tar.gz’.

Or by using the wget command as:

Let’s extract the downloaded tarball file to the directory ‘/opt’ by running the following command:

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

In order to install Eclipse, launch the installer file ‘eclipse-inst’ by running the following command:

Eclipse packages window appears, let’s choose your favorite package IDE.

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

For example, select the Eclipse IDE for C/C++ Developers then click INSTALL

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

Next, you have to accept the Eclipse Foundation Software User Agreement.

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

Now, your Eclipse IDE will be installing.

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

After the installation has been completed, Eclipse is ready to be launched.

Eclipse installation by snap [ Method 2]

Installing Eclipse by snap package manager is the handiest installation method to bring the Eclipse integrated development environment to your Ubuntu machine.

In order to install an old version of Eclipse, you can use the apt package manager:

Another simple way to install Eclipse IDE is using Ubuntu Software Center. Let’s open the software center and search for Eclipse then click the Install button.

Create launcher icon

Once the Eclipse is downloaded and installed successfully, you may need to create a shortcut to launch your IDE. Using your favorite editor to create a file named ‘eclipse.desktop’ and enter the following lines to it:

Please note that the paths in lines ‘Exec=’ and ‘Icon=’ are depended on your system. You can find the path in Exec line by running command:

Now, let’s enable the launcher icon:

That’s all. From now on, you can search for eclipse and launch it in the Applications center on your Ubuntu machine.

Conclusion

In this tutorial, we learned how to install the Eclipse IDE on Ubuntu 20.04. You can now begin to write your own codes to create many awesome applications with Eclipse.

Thanks for reading and please leave your suggestion in the below comment section.

6 Comments. add one

Installed in /root/eclipse/parallel-2020-06/eclipse/eclipse
eclipse.desktop installed in /usr/share/applications/eclipse.desktop
But Eclipse is not found by the system (Ubuntu 20.04).
Great very clear instructions. I must be close.
Thanks for any help
Carl

Thanks for your good words.

The script in /usr/local/bin/eclipse-base looks like this.
#!/bin/sh
#
# Make a link to this script, and it will try
# to start an eclipse in the same directory
#
# If it doesn’t exists, it just will fail.

Now I can easily start eclipse from command line, and based on the name, it choose right binary in /opt/Eclipes/*/eclipse to run.

Установка Eclipse в Ubuntu

Установка Eclipse на Ubuntu

Для работы Eclipse в вашей системе должна быть установлена Java машина. Вы можете ее установить с помощью такой команды:

sudo apt install default-jre

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

1. Установка из официального сайта

Чтобы получить последнюю версию Eclipse вам необходимо скачать установщик программы из официального сайта.

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

Тут вы можете загрузить не только сам установщик, но и пакеты для поддержки разных языков программирования. Для загрузки установщика нажмите несколько раз кнопку Download. После того, как установщик будет загружен, перейдите в папку с файлом и распакуйте его, например, для 64 битной версии команда будет выглядеть вот так:

tar xf eclipse-inst-linux64.tar.gz

Перейдите в папку установщика:

Запустите установщик без прав суперпользователя. Первым делом его надо обновить до самой последней версии:

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

Обратите внимание на кнопку бутерброда в верхнем правом углу и на желтый треугольник на ней. Это значит, что для программы доступно обновление. Для того чтобы установить обновление кликните по этой кнопке, а затем по кнопке Update:

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

Дождитесь завершения обновления и закройте установщик:

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

Дальше установка. Вы можете устанавливать ее с правами суперпользователя куда-нибудь в корневой каталог или без них, в домашнюю папку. Если хотите установить среду в домашнюю папку выполните:

Затем выберите версию IDE для вашего языка:

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

И выберите путь в вашей домашней папке для установки:

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

Также можно использовать sudo, тогда программа будет установлена в папку /opt:

Во время установки надо будет несколько раз принять лицензионное соглашение. После завершения установки вы можете запустить программу:

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

Главное окно программы выглядит вот так:

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

2. Установка Eclipse с помощью snap

Если вам не нужна версия из официального сайта, то вы можете установить Eclipse в Ubuntu 20.04 с помощью snap пакета. Это намного проще чем в предыдущем варианте. Достаточно выполнить:

Пакетный менеджер загрузит около 300 мегабайт данных и дальше вы сможете использовать Eclipse ничего не настраивая. Для удаления Eclipse, установленной таким образом надо выполнить:

sudo snap remove eclipse

Выводы

Вот и все, теперь вы знаете как установить Eclipse Ubuntu 20.04. Если у вас остались вопросы, спрашивайте в комментариях!

Ubuntu Documentation

How to install eclipse on ubuntu. Смотреть фото How to install eclipse on ubuntu. Смотреть картинку How to install eclipse on ubuntu. Картинка про How to install eclipse on ubuntu. Фото How to install eclipse on ubuntu

Needs Updating
This article needs updating to include the latest versions of Ubuntu. More info.

How to install Eclipse in Ubuntu.

Including Eclipse Web Tools Project, Apache Tomcat, Sun’s JDK and icons.

Install packages

In Edgy (Ubuntu 6.10) and newer most of these packages are now available through apt-get (or your preferred package manager like Synaptic or Adept) from the universe and multiverse repositories. It is recommended that you use the installation from Ubuntu’s repositories when available. See InstallingSoftware for notes on installing packages in Ubuntu.

Eclipse

See Eclipse IDE for instructions installing and setting up Eclipse.

Sun’s Java JDK

Install from Repository

See Eclipse IDE for instructions installing the Sun JDK via the repositories.

Install by Building your own Package (Ubuntu 5.10 and older)

Download the latest JDK from Sun, which currently is Mustang, 1.6. Choose the latest jdk update, and then choose the self extracting non rpm file, eg. jdk-6u4-linux-i586.bin

Install fakeroot and java-package from universe to be able to repackage the jdk as a .deb.

Once that is done we create the .deb jdk package.

Some interaction is required, and there will be the odd permission error etc, but should be fine.

Then we install this new package

Make Sun’s Java your java.

Choose the Sun JDK

Apache Tomcat

You can choose to install Apache from the Ubuntu repositories or go a more manual route, setting it up yourself.

Install from Repositories

Install the tomcat5.5 tomcat5.5-admin and tomcat5.5-webapps packages. See Apache Tomcat 5 for details.

Install Manually

If you chose not to install from the Ubuntu repositories and wish to install Apache Tomcat manually, fetch the latest apache tomcat binary. Choose the core tar.gz file.

Untar download and copy to /opt

Edit tomcat users

And add an admin and your own?

Eclipse Web Tools Project (WTP)

You might want to install to «/usr/local/lib/eclipse» to make the plugins available for other users.

Add Projects

Follow this tutorial to create web projects and to add tomcat as the server for this project, http://www.eclipse.org/webtools/community/tutorials/BuildJ2EEWebApp/BuildJ2EEWebApp.html

The Tomcat publishing is bothersome if your project structure is not a particular standard. IvarAbrahamsen have started a document on how to set up your projects. http://flurdy.com/docs/eclipse/project.html

Notes

Method for older Ubuntu versions

The manual installation sections are based on a howto by IvarAbrahamsen and information gathered from many references. As the old university excuse goes: «Copy from one source is plagiarism, copy from two or more is research».

Note: don’t follow he’s installation method. Prefere this one:

Method for newer Ubuntu versions

Help > Software Updates > Find and Install. > (*) Search for new features > Next > [x] Europa Discovery Site >

Now go back and repeate the same procedure for PTD (when get the error just click on select required)

Источники информации:

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *