Installing PyDev and Eclipse in Ubuntu 15.04

Before installing PyDev and Eclipse in Ubuntu 15.04 make sure you have java installed. To check whether java is already installed in your system type:


java -version

If java is installed you will get an output similar to the following:


openjdk version "1.8.0_45-internal"
OpenJDK Runtime Environment (build 1.8.0_45-internal-b14)
OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode)

If not then you will have to install java by typing:


sudo apt-get install openjdk-8-jdk

Then download the appropriate Eclipse Installer. After the downloading is completed, go to your Downloads directory and extract the tar.gz file just downloaded. Go inside the directory eclipse-installer, right click on the file eclipse-inst and click Run. The following window will appear:

Screenshot from 2016-04-19 12:39:17

Select one of the options and follow the on-screen instructions. Once the installation is finished, the last screen will provide you with an option to launch the application.

Once you are in Eclipse go to the menu Help –> Install New Software:

Screenshot from 2016-04-19 12:45:21

Click on Add:

Screenshot from 2016-04-19 13:14:51

In the Name filed type PyDev and in the Location filed type http://pydev.org/updates as shown below:

Screenshot from 2016-04-19 13:20:10

In the Work with field make sure to select PyDev site and check the item called PyDev in the list below:

Screenshot from 2016-04-19 13:23:52

Click on Next, confirm your selection and accept the license agreements before clicking on Finish. To verify the installation, start a new project and select PyDev Project:

Screenshot from 2016-04-19 13:30:56

Do a Quick Auto-Config for setting up the interpreter. Once the project is created, create a new file with .py extension. Write some Python code and click on Run.

Further Help: