I downloaded the Linux Eclipse installer from its site. By default, it is installed in home folder. No desktop shortcuts nothing else. Just a copy to a folder.
How can I install it the same way as is installed by sudo apt-get install eclipse
?
I downloaded the Linux Eclipse installer from its site. By default, it is installed in home folder. No desktop shortcuts nothing else. Just a copy to a folder.
How can I install it the same way as is installed by sudo apt-get install eclipse
?
Here are all instructions. You have to create a desktop file, see the last point in my answer.
Download the installer here
Extract the archive, e.g the 64-bit version
Change your folder
Run the installer WITHOUT
sudo
to UPGRADE the installerNote the yellow exclamation mark in the top right corner.
Activate the hamburger menu to upgrade the installer.
Close the installer after the upgrade
Install Eclipse without OR with
sudo
rightsWithout
sudo
to install Eclipse in your home folderselect your Eclipse distribution
and use a path inside your home folder
OR with
sudo
to install Eclipse in/opt
.select your Eclipse distribution
and use
/opt
as installation pathFinished
Create a desktop file
Crazy, we have a installer but no desktop files. Perhaps, this will be fixed in future versions of the installer. In the meantime:
and add the configuration below. Note, you have to change the pach for
Exec
and/orIcon
if you have used a different location.Unfortunately I don't have enough points to write a reply to the above answer by A.B. There is only one more step that you need to take if you want to install the application for all users under
/opt
:You need to switch to the advanced mode and change the bundle pool folder to something like
/opt/eclipse/.p2/pool
. This is because when installing it with sudo, the installer chooses/root/.p2/pool
by default for the bundle pool location, which can't be opened by your user. After that you should be able to open eclipse from your regular user. Hope this helps.Eclipse is now available as a snap. You can install it easily with one simple command:-
This single snap will work on Ubuntu 14.04, 16.04, 17.10 and 18.04.
You will need to ensure Java is installed:
The jre part is missing and is simple as
Then run the
sudo ./eclipse-inst
The online installer hung up on me I was using ubuntu GNOME 16.4, So I had to installed the specific version of eclipse from
If you face issue while installing Eclipse, just check your connected network allowing you to access websites for installation. While installing eclipse communicate to server for the verification of Certificate.