How to Install and Uninstall libapache2-mod-python Package on Debian 12 (Bookworm)

Last updated: December 23,2024

1. Install "libapache2-mod-python" package

This tutorial shows how to install libapache2-mod-python on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libapache2-mod-python

2. Uninstall "libapache2-mod-python" package

Please follow the guidance below to uninstall libapache2-mod-python on Debian 12 (Bookworm):

$ sudo apt remove libapache2-mod-python $ sudo apt autoclean && sudo apt autoremove

3. Information about the libapache2-mod-python package on Debian 12 (Bookworm)

Package: libapache2-mod-python
Version: 3.5.0+git20211031.e6458ec-1+deb12u1
Installed-Size: 422
Maintainer: Debian Python Team
Architecture: amd64
Depends: apache2-api-20120211, apache2-bin (>= 2.4.16), python3 (<< 3.12), python3 (>= 3.11~), python3:any, libc6 (>= 2.14), libpython3.11 (>= 3.11.0)
Suggests: libapache2-mod-python-doc
Description: Python-embedding module for Apache 2
Description-md5: bde005b62de762b201504653675e48e6
Homepage: http://www.modpython.org/
Tag: devel::lang:python, devel::library, role::plugin, suite::apache,
web::cgi
Section: httpd
Priority: optional
Filename: pool/main/liba/libapache2-mod-python/libapache2-mod-python_3.5.0+git20211031.e6458ec-1+deb12u1_amd64.deb
Size: 106560
MD5sum: 73c5401789889792471084adfa80da0c
SHA256: 7449098ef01c67c210f2789e80eb7e06e8dee3fe953f09922eae45e966250e4d