Install Eclipse on Debian (Etch)
October 1st, 2007
Tags: debian, eclipse
I tried to install newest Eclipse with the packaging system but failed, so I did it manually.
Here are the steps that worked for me.
1. Download eclipse for linux from http://www.eclipse.org/downloads/.
2. Unpack the package.
3. Move the package to /opt
CODE:
-
mv eclipse/ /opt
4. Change permissions on the new directory
CODE:
-
chown root.root /opt/eclipse
-
chmod -R +r /opt/eclipse
-
chmod +x `find eclipse -type d
5. Create a executable link
CODE:
-
touch /usr/bin/eclipse
-
chmod 755 /usr/bin/eclipse
-
/usr/bin/eclipse
6. and insert the following content.
CODE:
-
#!/bin/sh
-
export ECLIPSE_HOME=/opt/eclipse
-
$ECLIPSE_HOME/eclipse $*
Sponsored Links
7. Create desktop symbol
CODE:
-
touch /usr/share/applications/eclipse.desktop
-
edit /usr/share/applications/eclipse.desktop
8. and insert this
CODE:
-
[Desktop Entry]
-
Encoding=UTF-8
-
Name=Eclipse
-
Comment=Eclipse IDE
-
Exec=eclipse
-
Icon=/opt/eclipse/icon.xpm
-
Terminal=false
-
Type=Application
-
Categories=GNOME;Application;Development;
-
StartupNotify=true
SMD got me going at http://www.sumardi.net/2007/07/08/how-to-install-eclipse-33-manually/ but this solution did not work completely for me.







Leave a Reply