How To Install python-trezor on Debian 10

Learn how to install python-trezor on Debian 10 with this tutorial. python-trezor is library for communicating with TREZOR Bitcoin HW wallet (Python 2)

Introduction

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

What is python-trezor

python-trezor is:

No matter how unprotected your computer or internet connection might be, your coins always stay safe with TREZOR as it never exposes your private keys. TREZOR is an isolated environment for offline transaction signing and using a small display you can visually verify the transaction contents. That’s why all operations using TREZOR are entirely safe.

This package contains the Python 2 version of python-trezor.

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

sudo apt-get -y install python-trezor

Install python-trezor Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-trezor

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

sudo aptitude -y install python-trezor

How To Uninstall python-trezor on Debian 10

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

sudo apt-get remove python-trezor

Uninstall python-trezor And Its Dependencies

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

sudo apt-get -y autoremove python-trezor

Remove python-trezor Configurations and Data

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

sudo apt-get -y purge python-trezor

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

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

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

Dependencies

python-trezor have the following dependencies:

References

Summary

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