Checking mod_python library version on CentOS7

534 views Asked by At

I'm new to Linux and LAMP stack.

I'm trying to install PyAuthenNTLM2 on CentOS 7.8 VM. One of it's prerequisites is to have mod_python installed. However, I'm not sure if this mod_python is already installed or not.

I found one rpm file for mod_python on one of older CentOS 6 VM. However it seems it's not compatible with CentOS 7.

This is what I tried on CentOS 7:

rpm -ivh mod_python-3.3.1-14.el6.1.x86_64.rpm

However this failed with the following error:

error: Failed dependencies:
      httpd-mmn = 20051115 is needed by mod_python-3.3.1-14.el6.1.x86_64
      libpython2.6.so.1.0()(64bit) is needed by mod_python-3.3.1-14.el6.1.x86_64
      python(abi) = 2.6 is needed by mod_python-3.3.1-14.el6.1.x86_64

I have Python 2.7 and Apache 2.4.6 installed on this Cent OS 7.8 VM.

How can we check if mod_python is installed and check it's corresponding version?

Or any better alternative to enable NTLM auth on Apache instead of using PyAuthenNTLM2?

0

There are 0 answers