How To Install uwsgi on Fedora 36

In this tutorial we learn how to install uwsgi in Fedora 36. uwsgi is Fast, self-healing, application container server

Introduction

In this tutorial we learn how to install uwsgi on Fedora 36.

What is uwsgi

uWSGI is a fast (pure C), self-healing, developer/sysadmin-friendly application container server. Born as a WSGI-only server, over time it has evolved in a complete stack for networked/clustered web applications, implementing message/object passing, caching, RPC and process management. It uses the uwsgi (all lowercase, already included by default in the Nginx and Cherokee releases) protocol for all the networking/interprocess communications. Can be run in preforking mode, threaded, asynchronous/evented and supports various form of green threads/co-routine (like uGreen and Fiber). Sysadmin will love it as it can be configured via command line, environment variables, xml, .ini and yaml files and via LDAP. Being fully modular can use tons of different technology on top of the same core.

We can use yum or dnf to install uwsgi on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install uwsgi.

Install uwsgi on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install uwsgi

Install uwsgi on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install uwsgi

How To Uninstall uwsgi on Fedora 36

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

sudo dnf remove uwsgi

uwsgi Package Contents on Fedora 36

/etc/uwsgi.d
/etc/uwsgi.ini
/usr/lib/.build-id
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/8c4dd092f757236abaf5959a6d9b468240cce2
/usr/lib/systemd/system/uwsgi.service
/usr/lib/tmpfiles.d/uwsgi.conf
/usr/sbin/uwsgi
/usr/share/doc/uwsgi
/usr/share/doc/uwsgi/CHANGELOG
/usr/share/doc/uwsgi/README
/usr/share/doc/uwsgi/README.Fedora
/usr/share/licenses/uwsgi
/usr/share/licenses/uwsgi/LICENSE

References

Summary

In this tutorial we learn how to install uwsgi on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).