Tuesday, 17 November 2015
Hello? So today I got to install eclipse on my new install of Ubuntu Mate, and I thought it wise to share with you how to go all about it.
So it's nothing complicated, and it should give you a little insight on how to install other applications.
Before you do anything please make sure you have java installed on your computer. I should also mention that most Debian based OS's come with java pre-installed.
Downloading Eclipse.
Extracting Eclipse.
After downloading eclipse, you will get a compressed file. Extract it using archive manager to the "opt" folder inside the file system.
While trying to extract to that folder I ran into permission problems that did not allow me to extract the file to that folder. This is simply because by default my OS doesn't log me in as root(admin).
So a simple work around is to extract the file on your desktop, then head over into the file system, right-click on the opt folder and choose "open as administrator". You will be prompted to enter your password, then you can now copy and paste the uncompressed file here.
Creating the launcher.
The next step is creating the launcher. So open your terminal (CTRL + ALT + T).
First you will need to log into the terminal as root(admin). Type the code below and press enter, you will be asked to enter your password.
NOTE: While entering your password, the characters will not be visible so keep that in mind while entering the password.
After doing that, type the following code and press enter.
gedit /usr/share/applications/eclipse.desktop
this will simply create a file called eclipse.desktop in the applications filder inside the usr folder then open the file inside the gedit text editor.
Now paste this code and save the file.
[Desktop Entry]
Name=Eclipse 4
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse
And that's it. If you search for eclipse you should be able to see it. Also if you closely look at the code you can easily tell what is happening.
I hope this was helpful and feel free to ask any questions.
By: Unknown |
On:
Tuesday, 17 November 2015
|
At: 04:02 |
IN: