How To Install python-urwidtrees on Debian 10

Learn how to install python-urwidtrees on Debian 10 with this tutorial. python-urwidtrees is Urwid Tree Container API

Introduction

In this tutorial we learn how to install python-urwidtrees on Debian 10.

What is python-urwidtrees

python-urwidtrees is:

This is a Widget Container API for the urwid toolkit. It uses a MVC approach and allows one to build trees of widgets. Its design goals are:

  • clear separation classes that define, decorate and display trees of.
  • widgets representation of trees by local operations on node positions.
  • easy to use default implementation for simple trees Collapses are.
  • considered decoration.

This package is for Python 2 environment.

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

sudo apt-get -y install python-urwidtrees

Install python-urwidtrees Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-urwidtrees

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

sudo aptitude -y install python-urwidtrees

How To Uninstall python-urwidtrees on Debian 10

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

sudo apt-get remove python-urwidtrees

Uninstall python-urwidtrees And Its Dependencies

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

sudo apt-get -y autoremove python-urwidtrees

Remove python-urwidtrees Configurations and Data

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

sudo apt-get -y purge python-urwidtrees

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

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

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

Dependencies

python-urwidtrees have the following dependencies:

References

Summary

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