Eclipse installation and configuration on Ubuntu and OS X
Ubuntu Install
Reference: http://askubuntu.com/questions/47864/how-to-update-eclipse-3-5-2-to-3-6-2
Download http://www.eclipse.org/downloads/ » Eclipse Classic » Other Downloads » 3.6.2 » Platform Runtime Binary » eclipse-platform-3.6.2-linux-gtk-x86_64.tar.gz
Make a .deb package
As root
cd ~
mkdir eclipse-platform
apt-get install fakeroot dpkg-dev debhelper unp
unp eclipse-platform-3.6.2-linux-gtk-x86_64.tar.gz
mkdir -p eclipse-platform/usr/lib
mv eclipse eclipse-platform/usr/lib/
mkdir -p eclipse-platform/usr/bin
vi eclipse-platform/usr/bin/eclipse
#!/bin/sh
export UBUNTU_MENUPROXY=0
exec /usr/lib/eclipse/eclipse “$@”
chmod +x eclipse-platform/usr/bin/eclipse
mkdir -p eclipse-platform/usr/share/applications
vi eclipse-platform/usr/share/applications/eclipse.desktop
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Eclipse
Exec=eclipse
Terminal=false
Icon=/usr/lib/eclipse/icon.xpm
Comment=Eclipse Integrated Development Environment
Categories=Development;IDE;
mkdir eclipse-platform/DEBIAN
vi eclipse-platform/DEBIAN/control
Note: Replace maintainer’s name on line 4.
Package: eclipse-platform
Version: 3.6.2-1
Architecture: amd64
Maintainer: YourName
Depends: openjdk-6-jre | sun-java6-jre
Section: devel
Priority: optional
Description: Eclipse IDE, static-linked, minimal plugins.
fakeroot dpkg -b eclipse-platform eclipse-platform_3.6.2-1_amd64.deb
dpkg -i eclipse-platform_3.6.2-1_amd64.deb
rm -rf eclipse-platform*
OS X Install
- Download http://www.eclipse.org/downloads/ » Eclipse Classic » Other Downloads » 3.6.2 » Platform Runtime Binary » eclipse-platform-3.6.2-macosx-cocoa-x86_64.tar.gz
- Uncompress it
- Copy folder “eclipse” to /Developer/Applications
Plug-ins
Launch Eclipse
Help » Install New Software // Restart after each install
- Add http://download.eclipse.org/releases/helios/ and from “Web, XML, and Java EE Development”, select:
- PDT: Add http://download.eclipse.org/tools/pdt/updates/2.2/milestones and select all
- PyDev: Add http://pydev.org/updates and select all // Accept security warning
- Subclipse: Add http://subclipse.tigris.org/update_1.6.x and select all // Accept security warning and report usage
- EGit: Add http://download.eclipse.org/egit/updates and select all
- Markdown Text Editor: Add http://winterstein.me.uk/projects/tt-update-site/ // Accept security warning. On Eclipse 3.5, deactivate “Group items by category”.
Configuration
OS X
Eclipse » Preferences » PyDev » Interpreter – Python
- Click on “New…” (top right)
- Interpreter Name: Python 2.5
- Interpreter Executable: /System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5