This how-to has been tested on ubuntu but you can adapt it easily to other OS.

Eclipse is well known in the Java world and well known because this is an heavy editor that consume a lot your computer resources. This IDE is very powerful and provides a lot of plugins that can make you more productive. In this article, we’ll see how to install Eclipse to have a great python development environment.

Before installing Eclipse, make sure you have already installed a Java Runtine Environment 6 (package sun-java6-jre). Prefer JRE 6 to the JRE 5, because Sun has made some improvements to make Java faster.

Go to http://download.eclipse.org/eclipse/downloads/. Click on 3.3 in Latest Release section, then in Platform Runtime Binary section download your appropriate eclipse version. In my case, I have selected the eclipse-platform-3.3-linux-gtk.tar.gz release.

Extract eclipse from the archive you have just downloaded:

clebeaupin@atalante:~/tmp$ tar zxvf eclipse-platform-3.3-linux-gtk.tar.gz

Install eclipse in /opt to make it available for all users on your computer:

clebeaupin@atalante:~/tmp$ sudo mv eclipse /opt/

Before launching eclipse with root user make sure all files in /opt/eclipse are owned by root user:

clebeaupin@atalante:~/tmp$ sudo chown -R root:root /opt/eclipse

You are ready to launch eclipse. You have to launch it in root mode to install the needed plugins. If you do it with your specific user, plugins will not be available for all you computer users.

So do it:

clebeaupin@atalante:~/tmp$ sudo /opt/eclipse/eclipse

A popup like the following one appears. Keep the workspace location and check box Use this as default and do not ask again and click on OK button.

Workspace Launcher

After few seconds Eclipse is launched and is configured with the basic plugins. Those we need are the following ones:

  • WTP (Web tools platform) to edit CSS, JS, HTML and XML files
  • CVS to work with CVS repositories
  • Subclipse to work with SVN repositories
  • Pydev to edit python files
  • AnyEditTools to add very useful features in text edition

Plugin Installer

To install them and for each plugin you’ll have to go in Help > Software updates > Find And Install… menu and select Search for new features to install. Each plugin will be added from this screen:

Install Plugins

WTP (Web tools platform) plugin installation

  1. Check box Europa Discovery Site
  2. Click on Finish button and then select your mirror
  3. On Updates popup, deploy Europa Discovery Site > Web and JEE Development
  4. Check Web Standard Tools, click on Select Required button to select all dependencies and click on the Next button
  5. Accept the terms in the licence agreements and click on Next button
  6. Click on Finish button and eclipse will download all the necessary files
  7. Then install all the downloaded files by clicking on Install All button

CVS plugin installation

  1. Check box Europa Discovery Site
  2. Click on Finish button and then select your mirror
  3. On Updates popup, deploy Europa Discovery Site > Collaboration Tools
  4. Check Eclipse CVS Client and click on the Next button
  5. Accept the terms in the licence agreements and click on Next button
  6. Click on Finish button and eclipse will download all the necessary files
  7. Then install all the downloaded files by clicking on Install All button

Subclipse plugin installation

  1. Click on New Remote Site… button, enter this title: Suclipse and this url: http://subclipse.tigris.org/update_1.2.x
  2. Check box Subclipse and click on Finish button
  3. On Updates popup, deploy Subclipse > Subclipse Plugin
  4. Check Subclipse and click on the Next button
  5. Accept the terms in the licence agreements and click on Next button
  6. Click on Finish button and eclipse will download all the necessary files
  7. Then install all the downloaded files by clicking on Install All button

Pydev plugin installation

  1. Click on New Remote Site… button, enter this title: Pydev and this url: http://pydev.sourceforge.net/updates/
  2. Check box Pydev and click on Finish button
  3. On Updates popup, deploy Pydev > Pydev
  4. Check Pydev and click on the Next button
  5. Accept the terms in the licence agreements and click on Next button
  6. Click on Finish button and eclipse will download all the necessary files
  7. Then install all the downloaded files by clicking on Install All button

AnyEditTools plugin installation

  1. Click on New Remote Site… button, enter this title: Andrei plugins and this url: http://andrei.gmxhome.de/eclipse/
  2. Check box Andrei plugins and click on Finish button
  3. On Updates popup, deploy Andrei plugins > Eclipse 3.2 - 3.3 plugins
  4. Check AnyEditTools and click on the Next button
  5. Accept the terms in the licence agreements and click on Next button
  6. Click on Finish button and eclipse will download all the necessary files
  7. Then install all the downloaded files by clicking on Install All button

The end

If you have succeeded in installing all the above plugins, you can close Eclipse and launch it in a normal way:

clebeaupin@atalante:~/tmp$ /opt/eclipse/eclipse