How To Install python2-waitress on AlmaLinux 8

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

Introduction

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

What is python2-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 2 version.

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

Install python2-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 python2-waitress using dnf by running the following command:

sudo dnf -y install python2-waitress

Install python2-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 python2-waitress using yum by running the following command:

sudo yum -y install python2-waitress

How To Uninstall python2-waitress on AlmaLinux 8

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

sudo dnf remove python2-waitress

References

Summary

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