How To Install python3-waitress on AlmaLinux 8

In this tutorial we learn how to install python3-waitress in AlmaLinux 8. python3-waitress is Waitress WSGI server

Introduction

In this tutorial we learn how to install python3-waitress on AlmaLinux 8.

What is python3-waitress

Waitress is meant to be a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones which live in the Python standard library. It runs on CPython on Unix and Windows under Python 2.6+ and Python 3.3+. It is also known to run on PyPy 1.6.0+ on UNIX. It supports HTTP/1.0 and HTTP/1.1. Python 3 version.

We can use yum or dnf to install python3-waitress on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-waitress.

Install python3-waitress on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install python3-waitress

Install python3-waitress on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-waitress using yum by running the following command:

sudo yum -y install python3-waitress

How To Uninstall python3-waitress on AlmaLinux 8

To uninstall only the python3-waitress package we can use the following command:

sudo dnf remove python3-waitress

References

Summary

In this tutorial we learn how to install python3-waitress on AlmaLinux 8 using yum and dnf.