How To Install python-hachoir-urwid on Debian 10
Introduction
In this tutorial we learn how to install python-hachoir-urwid on Debian 10.
What is python-hachoir-urwid
python-hachoir-urwid is:
hachoir-urwid is a binary file explorer based on Hachoir library to parse the files. Using this tool you can exactly know the meaning of each bit/byte of your files. With direction keys, you can navigate in the field tree. The key ‘h’ will disable ‘human display’ and switch to ‘raw display’. It’s sometime useful when you would like to compare hexadecimal data and Hachoir representation.
There are three methods to install python-hachoir-urwid 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-hachoir-urwid 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-hachoir-urwid using apt-get by running the following command:
sudo apt-get -y install python-hachoir-urwid
Install python-hachoir-urwid Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install python-hachoir-urwid using apt by running the following command:
sudo apt -y install python-hachoir-urwid
Install python-hachoir-urwid 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-hachoir-urwid using aptitude by running the following command:
sudo aptitude -y install python-hachoir-urwid
How To Uninstall python-hachoir-urwid on Debian 10
To uninstall only the python-hachoir-urwid package we can use the following command:
sudo apt-get remove python-hachoir-urwid
Uninstall python-hachoir-urwid And Its Dependencies
To uninstall python-hachoir-urwid and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove python-hachoir-urwid
Remove python-hachoir-urwid Configurations and Data
To remove python-hachoir-urwid configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge python-hachoir-urwid
Remove python-hachoir-urwid configuration, data, and all of its dependencies
We can use the following command to remove python-hachoir-urwid configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-hachoir-urwid
Dependencies
python-hachoir-urwid have the following dependencies:
References
Summary
In this tutorial we learn how to install python-hachoir-urwid package on Debian 10 using different package management tools: apt, apt-get and aptitude.