How To Install python-flufl.enum on Debian 9

In this tutorial we learn how to install python-flufl.enum on Debian 9. python-flufl.enum is yet another Python enumeration package (Python 2)

Introduction

In this tutorial we learn how to install python-flufl.enum on Debian 9.

What is python-flufl.enum

python-flufl.enum is:

This package provides a Python enumeration, with an emphasis on simple, specific, concise semantics in an easy to read and write syntax. flufl.enum has just enough of the features needed to make enumerations useful, but without a lot of extra baggage to weigh them down.

There are three methods to install python-flufl.enum on Debian 9. 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-flufl.enum 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-flufl.enum using apt-get by running the following command:

sudo apt-get -y install python-flufl.enum

Install python-flufl.enum Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-flufl.enum

Install python-flufl.enum 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python-flufl.enum using aptitude by running the following command:

sudo aptitude -y install python-flufl.enum

How To Uninstall python-flufl.enum on Debian 9

To uninstall only the python-flufl.enum package we can use the following command:

sudo apt-get remove python-flufl.enum

Uninstall python-flufl.enum And Its Dependencies

To uninstall python-flufl.enum and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove python-flufl.enum

Remove python-flufl.enum Configurations and Data

To remove python-flufl.enum configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-flufl.enum

Remove python-flufl.enum configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-flufl.enum

Dependencies

python-flufl.enum have the following dependencies:

References

Summary

In this tutorial we learn how to install python-flufl.enum package on Debian 9 using different package management tools: apt, apt-get and aptitude.