How To Install python-breadability on Debian 9

In this tutorial we learn how to install python-breadability on Debian 9. python-breadability is Python module that makes HTML documents more readable

Introduction

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

What is python-breadability

python-breadability is:

Python module that can clean up HTML documents to make them more easily readable.

This is fork of the python-readability module, cleaned up and with additional tests.

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

sudo apt-get -y install python-breadability

Install python-breadability Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-breadability

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

sudo aptitude -y install python-breadability

How To Uninstall python-breadability on Debian 9

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

sudo apt-get remove python-breadability

Uninstall python-breadability And Its Dependencies

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

sudo apt-get -y autoremove python-breadability

Remove python-breadability Configurations and Data

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

sudo apt-get -y purge python-breadability

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

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

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

Dependencies

python-breadability have the following dependencies:

References

Summary

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