How To Install python-catcher on Debian 9
Introduction
In this tutorial we learn how to install python-catcher on Debian 9.
What is python-catcher
python-catcher is:
python-catcher module generates rich HTML tracebacks (including source code and local variable values), submits it to the web and generates a permalink.
There are three methods to install python-catcher on Debian 9. 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-catcher 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-catcher using apt-get by running the following command:
sudo apt-get -y install python-catcher
Install python-catcher Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install python-catcher using apt by running the following command:
sudo apt -y install python-catcher
Install python-catcher 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-catcher using aptitude by running the following command:
sudo aptitude -y install python-catcher
How To Uninstall python-catcher on Debian 9
To uninstall only the python-catcher package we can use the following command:
sudo apt-get remove python-catcher
Uninstall python-catcher And Its Dependencies
To uninstall python-catcher and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove python-catcher
Remove python-catcher Configurations and Data
To remove python-catcher configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge python-catcher
Remove python-catcher configuration, data, and all of its dependencies
We can use the following command to remove python-catcher configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-catcher
Dependencies
python-catcher have the following dependencies:
References
Summary
In this tutorial we learn how to install python-catcher package on Debian 9 using different package management tools: apt, apt-get and aptitude.