How To Install python-django-federated-login on CentOS 7

In this tutorial we learn how to install python-django-federated-login on CentOS 7. python-django-federated-login is Provides federated logins to django projects

Introduction

In this tutorial we learn how to install python-django-federated-login on CentOS 7.

What is python-django-federated-login

Django Federated Login provides an authentication bridge between Django projects and OpenID-enabled identity providers. The bridge is pre-wired to be used with a single Google Apps domain, but could be extended to be linked with other OpenID providers also. It is different from other OpenID consumers as this consumer only allows connecting to a pre-defined identity provider. The provided backend matches users based on the e-mail address returned from the identity provider. If no matching user could be found, a user account can optionally be created.

We can use yum or dnf to install python-django-federated-login on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-django-federated-login.

Install python-django-federated-login on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install python-django-federated-login using yum by running the following command:

sudo yum -y install python-django-federated-login

Install python-django-federated-login 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.

sudo dnf makecache

After updating yum database, We can install python-django-federated-login using dnf by running the following command:

sudo dnf -y install python-django-federated-login

How To Uninstall python-django-federated-login on CentOS 7

To uninstall only the python-django-federated-login package we can use the following command:

sudo dnf remove python-django-federated-login

References

Summary

In this tutorial we learn how to install python-django-federated-login on CentOS 7 using yum and dnf.