How To Install ninja-ide on Ubuntu 18.04

In this tutorial we learn how to install ninja-ide on Ubuntu 18.04. ninja-ide is integrated development environment (IDE) for Python

Introduction

In this tutorial we learn how to install ninja-ide on Ubuntu 18.04.

What is ninja-ide

ninja-ide is:

NINJA-IDE is a cross-platform integrated development environment (IDE). It currently features: .

  • code editor: NINJA-IDE provides a complete code editor with highlighting for several languages, code completion, code assistant for imports, navigation, etc. .
  • project management: NINJA-IDE allows one to manage Python projects automatically, saving descriptive information about them and letting the user perform file-management-related tasks in the IDE itself. .
  • high extensibility: you can create plugins for several purposes, and they can be completely integrated within the IDE, increasing the available features.

There are three methods to install ninja-ide 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 ninja-ide Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ninja-ide

Install ninja-ide Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ninja-ide

Install ninja-ide 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 ninja-ide using aptitude by running the following command:

sudo aptitude -y install ninja-ide

How To Uninstall ninja-ide on Ubuntu 18.04

To uninstall only the ninja-ide package we can use the following command:

sudo apt-get remove ninja-ide

Uninstall ninja-ide And Its Dependencies

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

sudo apt-get -y autoremove ninja-ide

Remove ninja-ide Configurations and Data

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

sudo apt-get -y purge ninja-ide

Remove ninja-ide configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ninja-ide

References

Summary

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