How To Install python2-waitress on CentOS 7
Introduction
In this tutorial we learn how to install python2-waitress
on CentOS 7.
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 3 version.
We can use yum
or dnf
to install python2-waitress
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python2-waitress.
Install python2-waitress on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install python2-waitress
using yum
by running the following command:
Install python2-waitress 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.
After updating yum database, We can install python2-waitress
using dnf
by running the following command:
How To Uninstall python2-waitress on CentOS 7
To uninstall only the python2-waitress
package we can use the following command:
References
Summary
In this tutorial we learn how to install python2-waitress
on CentOS 7 using yum
and dnf
.