How To Install python-epsilon on Ubuntu 18.04

In this tutorial we learn how to install python-epsilon on Ubuntu 18.04. python-epsilon is Python utility modules commonly used by Divmod.org project

Introduction

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

What is python-epsilon

python-epsilon is:

Epsilon is a set of Python utility modules, commonly used by all Divmod.org Python projects.

This is intended mainly as a support package for code used by Divmod projects, however it contains many generally useful modules.

Currently included:

  • a powerful date/time formatting and import/export class (extime.Time), for exchanging date and time information between all Python’s various ways to interpret objects as times or time deltas
  • tools for managing concurrent asynchronous processes within Twisted
  • a metaclass which helps you define classes with explicit states
  • a formal system for application of monkey-patches

There are three methods to install python-epsilon 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-epsilon 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-epsilon using apt-get by running the following command:

sudo apt-get -y install python-epsilon

Install python-epsilon Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-epsilon

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

sudo aptitude -y install python-epsilon

How To Uninstall python-epsilon on Ubuntu 18.04

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

sudo apt-get remove python-epsilon

Uninstall python-epsilon And Its Dependencies

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

sudo apt-get -y autoremove python-epsilon

Remove python-epsilon Configurations and Data

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

sudo apt-get -y purge python-epsilon

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

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

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

References

Summary

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