How To Install uwsgi-router-basicauth on CentOS 7

In this tutorial we learn how to install uwsgi-router-basicauth on CentOS 7. uwsgi-router-basicauth is uWSGI - Plugin for Basic Auth router support

Introduction

In this tutorial we learn how to install uwsgi-router-basicauth on CentOS 7.

What is uwsgi-router-basicauth

This package contains the basicauth plugin for uWSGI

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

Install uwsgi-router-basicauth on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install uwsgi-router-basicauth using yum by running the following command:

sudo yum -y install uwsgi-router-basicauth

Install uwsgi-router-basicauth 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 uwsgi-router-basicauth using dnf by running the following command:

sudo dnf -y install uwsgi-router-basicauth

How To Uninstall uwsgi-router-basicauth on CentOS 7

To uninstall only the uwsgi-router-basicauth package we can use the following command:

sudo dnf remove uwsgi-router-basicauth

References

Summary

In this tutorial we learn how to install uwsgi-router-basicauth on CentOS 7 using yum and dnf.