How To Install python-enthoughtbase on Ubuntu 18.04

In this tutorial we learn how to install python-enthoughtbase on Ubuntu 18.04. python-enthoughtbase is Core packages for the Enthought Tool Suite

Introduction

In this tutorial we learn how to install python-enthoughtbase on Ubuntu 18.04.

What is python-enthoughtbase

python-enthoughtbase is:

The EnthoughtBase project includes a few core packages that are used by many other projects in the Enthought Tool Suite:

  • enthought.etsconfig: Supports configuring settings that need to be shared across multiple projects or programs on the same system. Most significant of these is the GUI toolkit to be used. You can also configure locations for writing application data and user data, and the name of the company responsible for the software (which is used in the application and user data paths on some systems).
  • enthought.logger: Provides convenience functions for creating logging handlers.
  • enthought.util: Provides miscellaneous utility functions

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

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

sudo apt-get update

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

sudo apt-get -y install python-enthoughtbase

Install python-enthoughtbase Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-enthoughtbase

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

sudo aptitude -y install python-enthoughtbase

How To Uninstall python-enthoughtbase on Ubuntu 18.04

To uninstall only the python-enthoughtbase package we can use the following command:

sudo apt-get remove python-enthoughtbase

Uninstall python-enthoughtbase And Its Dependencies

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

sudo apt-get -y autoremove python-enthoughtbase

Remove python-enthoughtbase Configurations and Data

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

sudo apt-get -y purge python-enthoughtbase

Remove python-enthoughtbase configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-enthoughtbase

References

Summary

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