How To Install python-tgext.admin on Debian 9
Introduction
In this tutorial we learn how to install python-tgext.admin on Debian 9.
What is python-tgext.admin
python-tgext.admin is:
TurboGears2 is a framework to develop web applications in Python, according to the model-view-controller (MVC) architecture; tgext.admin is a controller add-on for TurboGears2 that provides a user interface to manage users, groups, and their permissions.
tgext.admin is compatible with the basic TurboGears2 identity model.
This package also contains:
- tgext.crud - controller extension to expose CRUD interfaces
There are three methods to install python-tgext.admin 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-tgext.admin 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-tgext.admin using apt-get by running the following command:
sudo apt-get -y install python-tgext.admin
Install python-tgext.admin Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install python-tgext.admin using apt by running the following command:
sudo apt -y install python-tgext.admin
Install python-tgext.admin 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-tgext.admin using aptitude by running the following command:
sudo aptitude -y install python-tgext.admin
How To Uninstall python-tgext.admin on Debian 9
To uninstall only the python-tgext.admin package we can use the following command:
sudo apt-get remove python-tgext.admin
Uninstall python-tgext.admin And Its Dependencies
To uninstall python-tgext.admin and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove python-tgext.admin
Remove python-tgext.admin Configurations and Data
To remove python-tgext.admin configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge python-tgext.admin
Remove python-tgext.admin configuration, data, and all of its dependencies
We can use the following command to remove python-tgext.admin configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-tgext.admin
Dependencies
python-tgext.admin have the following dependencies:
References
Summary
In this tutorial we learn how to install python-tgext.admin package on Debian 9 using different package management tools: apt, apt-get and aptitude.