Unable to install Eclipse manually
- by veerendar
I have just started Linux. I have a SBC(Atom processor) on which I have installed Ubuntu 12.04 and now I am trying to install Fortran IDE.
For which I have learnt that I need to install OpenJDK first, then Eclipse Juno and at last the Phortran plugin for Eclipse.
I have no Internet access so I had follow the below steps for manual installation.
First download the eclipse tar.gz package (downloaded: eclipse-parallel-juno-linux-gtk.tar).
Then right-click the eclipse tar.gz and choose the extract here option to extract the tar.gz package.You can also use the command line to extract the tar.gz package.
# tar xzf eclipse-cpp-juno-linux-gtk.tar.gz
Move to /opt/ folder.
# mv eclipse /opt/
Use sudo if the above command gives permission denied message.
# sudo mv eclipse /opt/
Create a desktop file and place it into /usr/share/applications
# sudo gedit /usr/share/applications/eclipse.desktop
and copy the following to the eclipse.desktop file
[Desktop Entry]
Name=Eclipse
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.desktop
Create a symlink in /usr/local/bin using
# cd /usr/local/bin
# sudo ln -s /opt/eclipse/eclipse
Now its the time to launch eclipse.
# /opt/eclipse/eclipse -clean &
Now at step 5, when I type the command sudo ln -s /opt/eclipse/eclipse , I get an this error message:
ln: Failed to create symbolic link './eclipse': File exists.
Please help me in resolving this.