How To Install python-txwinrm on Debian 10

Learn how to install python-txwinrm on Debian 10 with this tutorial. python-txwinrm is asynchronous Python WinRM client libraries

Introduction

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

What is python-txwinrm

python-txwinrm is:

txwinrm is a Python library for asynchronously managing Windows using the WinRM and WinRS services. It is developed by Zenoss, for more information please see

http://community.zenoss.org/community/forums/zenoss-windows

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

sudo apt-get -y install python-txwinrm

Install python-txwinrm Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-txwinrm

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

sudo aptitude -y install python-txwinrm

How To Uninstall python-txwinrm on Debian 10

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

sudo apt-get remove python-txwinrm

Uninstall python-txwinrm And Its Dependencies

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

sudo apt-get -y autoremove python-txwinrm

Remove python-txwinrm Configurations and Data

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

sudo apt-get -y purge python-txwinrm

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

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

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

Dependencies

python-txwinrm have the following dependencies:

References

Summary

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