How to Install and Uninstall python2-mod_wsgi.x86_64 Package on Amazon Linux 2

Last updated: November 26,2024

1. Install "python2-mod_wsgi.x86_64" package

In this section, we are going to explain the necessary steps to install python2-mod_wsgi.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install python2-mod_wsgi.x86_64

2. Uninstall "python2-mod_wsgi.x86_64" package

Please follow the step by step instructions below to uninstall python2-mod_wsgi.x86_64 on Amazon Linux 2:

$ sudo yum remove python2-mod_wsgi.x86_64 $ sudo yum autoremove

3. Information about the python2-mod_wsgi.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : python2-mod_wsgi
Arch : x86_64
Version : 3.4
Release : 12.amzn2.0.3
Size : 72 k
Repo : amzn2-core/2/x86_64
Summary : A WSGI interface for Python web applications in Apache
URL : http://modwsgi.org
License : ASL 2.0
Description : The mod_wsgi adapter is an Apache module that provides a WSGI
: compliant interface for hosting Python based web applications
: within Apache. The adapter is written completely in C code against
: the Apache C runtime and for hosting WSGI applications within
: Apache has a lower overhead than using existing WSGI adapters for
: mod_python or CGI.