How To Install eclipse-pydev on Ubuntu 18.04

In this tutorial we learn how to install eclipse-pydev on Ubuntu 18.04. eclipse-pydev is Python IDE for Eclipse

Introduction

In this tutorial we learn how to install eclipse-pydev on Ubuntu 18.04.

What is eclipse-pydev

eclipse-pydev is:

PyDev is a Python IDE for Eclipse, which may be used in Python, Jython and IronPython development.

It comes with many goodies such as:

  • Django integration
  • Code completion
  • Code completion with auto import
  • Syntax highlighting
  • Code analysis
  • Go to definition
  • Refactoring
  • Mark occurrences
  • Debugger
  • Remote debugger
  • Tokens browser
  • Interactive console
  • Unittest integration
  • Code coverage

There are three methods to install eclipse-pydev on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install eclipse-pydev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install eclipse-pydev using apt-get by running the following command:

sudo apt-get -y install eclipse-pydev

Install eclipse-pydev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install eclipse-pydev using apt by running the following command:

sudo apt -y install eclipse-pydev

Install eclipse-pydev Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install eclipse-pydev using aptitude by running the following command:

sudo aptitude -y install eclipse-pydev

How To Uninstall eclipse-pydev on Ubuntu 18.04

To uninstall only the eclipse-pydev package we can use the following command:

sudo apt-get remove eclipse-pydev

Uninstall eclipse-pydev And Its Dependencies

To uninstall eclipse-pydev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove eclipse-pydev

Remove eclipse-pydev Configurations and Data

To remove eclipse-pydev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge eclipse-pydev

Remove eclipse-pydev configuration, data, and all of its dependencies

We can use the following command to remove eclipse-pydev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge eclipse-pydev

References

Summary

In this tutorial we learn how to install eclipse-pydev package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.