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:
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:
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:
Click on Add:
In the Name filed type PyDev and in the Location filed type http://pydev.org/updates as shown below:
In the Work with field make sure to select PyDev site and check the item called PyDev in the list below:
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:
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.