How To Install python3-pyramid on Debian 9
Introduction
In this tutorial we learn how to install python3-pyramid on Debian 9.
What is python3-pyramid
python3-pyramid is:
Pyramid is a small, fast, down-to-earth, open source Python web development framework. It makes real-world web application development and deployment more fun, more predictable, and more productive.
Pyramid is a Pylons project, and underlies the newest web frameworks produced by the Pylons community.
Pyramid was previously known as repoze.bfg.
This is the Python 3 version.
There are three methods to install python3-pyramid 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 python3-pyramid Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install python3-pyramid using apt-get by running the following command:
sudo apt-get -y install python3-pyramid
Install python3-pyramid Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install python3-pyramid using apt by running the following command:
sudo apt -y install python3-pyramid
Install python3-pyramid 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 python3-pyramid using aptitude by running the following command:
sudo aptitude -y install python3-pyramid
How To Uninstall python3-pyramid on Debian 9
To uninstall only the python3-pyramid package we can use the following command:
sudo apt-get remove python3-pyramid
Uninstall python3-pyramid And Its Dependencies
To uninstall python3-pyramid and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove python3-pyramid
Remove python3-pyramid Configurations and Data
To remove python3-pyramid configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge python3-pyramid
Remove python3-pyramid configuration, data, and all of its dependencies
We can use the following command to remove python3-pyramid configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python3-pyramid
Dependencies
python3-pyramid have the following dependencies:
- python3
- python3-chameleon
- python3-mako
- python3-pastedeploy
- python3-repoze.lru
- python3-setuptools
- python3-translationstring
- python3-venusian
- python3-webob
- python3-webtest
- python3-zope.component
- python3-zope.deprecation
- python3-zope.interface
- python3-pkg-resources
- python3
References
Summary
In this tutorial we learn how to install python3-pyramid package on Debian 9 using different package management tools: apt, apt-get and aptitude.