How To Install python-pyramid-multiauth on Ubuntu 18.04
Introduction
In this tutorial we learn how to install python-pyramid-multiauth
on Ubuntu 18.04.
What is python-pyramid-multiauth
python-pyramid-multiauth is:
The pyramid_multiauth package provides MultiAuthenticationPolicy: a Pyramid authentication policy that proxies to a stack of other IAuthenticationPolicy objects, to provide a combined auth solution from individual pieces.
There are three methods to install python-pyramid-multiauth
on Ubuntu 18.04. 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-pyramid-multiauth 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-pyramid-multiauth
using apt-get
by running the following command:
sudo apt-get -y install python-pyramid-multiauth
Install python-pyramid-multiauth Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-pyramid-multiauth
using apt
by running the following command:
sudo apt -y install python-pyramid-multiauth
Install python-pyramid-multiauth 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install python-pyramid-multiauth
using aptitude
by running the following command:
sudo aptitude -y install python-pyramid-multiauth
How To Uninstall python-pyramid-multiauth on Ubuntu 18.04
To uninstall only the python-pyramid-multiauth
package we can use the following command:
sudo apt-get remove python-pyramid-multiauth
Uninstall python-pyramid-multiauth And Its Dependencies
To uninstall python-pyramid-multiauth
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove python-pyramid-multiauth
Remove python-pyramid-multiauth Configurations and Data
To remove python-pyramid-multiauth
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge python-pyramid-multiauth
Remove python-pyramid-multiauth configuration, data, and all of its dependencies
We can use the following command to remove python-pyramid-multiauth
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-pyramid-multiauth
References
Summary
In this tutorial we learn how to install python-pyramid-multiauth
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.