How To Install python-repoze-who-testutil on CentOS 7
Introduction
In this tutorial we learn how to install python-repoze-who-testutil
on CentOS 7.
What is python-repoze-who-testutil
repoze.who-testutil is a repoze.who plugin which modifies repoze.who‘s original middleware to make it easier to forge authentication, without bypassing identification (this is, running the metadata providers). It’s been created in order to ease testing of repoze.who-powered applications, in a way independent of the identifiers, authenticators and challengers used originally by your application, so that you won’t have to update your test suite as your application grows and the authentication method changes.
We can use yum
or dnf
to install python-repoze-who-testutil
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-repoze-who-testutil.
Install python-repoze-who-testutil on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install python-repoze-who-testutil
using yum
by running the following command:
Install python-repoze-who-testutil on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install python-repoze-who-testutil
using dnf
by running the following command:
How To Uninstall python-repoze-who-testutil on CentOS 7
To uninstall only the python-repoze-who-testutil
package we can use the following command:
References
Summary
In this tutorial we learn how to install python-repoze-who-testutil
on CentOS 7 using yum
and dnf
.