How To Install python-libuser on Debian 10

Learn how to install python-libuser on Debian 10 with this tutorial. python-libuser is user and group account administration library - Python 2.7 bindings

Introduction

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

What is python-libuser

python-libuser is:

The libuser library implements a standardized interface for manipulating and administering user and group accounts. The library uses pluggable back-ends to interface to its data sources.

This package contains the Python 2.7 bindings for the library.

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

sudo apt-get -y install python-libuser

Install python-libuser Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-libuser

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

sudo aptitude -y install python-libuser

How To Uninstall python-libuser on Debian 10

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

sudo apt-get remove python-libuser

Uninstall python-libuser And Its Dependencies

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

sudo apt-get -y autoremove python-libuser

Remove python-libuser Configurations and Data

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

sudo apt-get -y purge python-libuser

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

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

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

Dependencies

python-libuser have the following dependencies:

References

Summary

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