How To Install python3-ndg_httpsclient on Rocky Linux 8

In this tutorial we learn how to install python3-ndg_httpsclient on Rocky Linux 8. python3-ndg_httpsclient is Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL

Introduction

In this tutorial we learn how to install python3-ndg_httpsclient on Rocky Linux 8.

What is python3-ndg_httpsclient

This is a HTTPS client implementation for httplib and urllib2 based on PyOpenSSL. PyOpenSSL provides a more fully featured SSL implementation over the default provided with Python and importantly enables full verification of the SSL peer. This is the python3 library.

We can use yum or dnf to install python3-ndg_httpsclient on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-ndg_httpsclient.

Install python3-ndg_httpsclient on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-ndg_httpsclient using dnf by running the following command:

sudo dnf -y install python3-ndg_httpsclient

Install python3-ndg_httpsclient on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-ndg_httpsclient using yum by running the following command:

sudo yum -y install python3-ndg_httpsclient

How To Uninstall python3-ndg_httpsclient on Rocky Linux 8

To uninstall only the python3-ndg_httpsclient package we can use the following command:

sudo dnf remove python3-ndg_httpsclient

python3-ndg_httpsclient Package Contents on Rocky Linux 8

/usr/bin/ndg_httpclient
/usr/lib/python3.6/site-packages/ndg
/usr/lib/python3.6/site-packages/ndg/__init__.py
/usr/lib/python3.6/site-packages/ndg/__pycache__
/usr/lib/python3.6/site-packages/ndg/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ndg/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient
/usr/lib/python3.6/site-packages/ndg/httpsclient/LICENSE
/usr/lib/python3.6/site-packages/ndg/httpsclient/__init__.py
/usr/lib/python3.6/site-packages/ndg/httpsclient/__pycache__
/usr/lib/python3.6/site-packages/ndg/httpsclient/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/__pycache__/https.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/__pycache__/https.cpython-36.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/__pycache__/ssl_context_util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/__pycache__/ssl_context_util.cpython-36.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/__pycache__/ssl_peer_verification.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/__pycache__/ssl_peer_verification.cpython-36.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/__pycache__/ssl_socket.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/__pycache__/ssl_socket.cpython-36.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/__pycache__/subj_alt_name.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/__pycache__/subj_alt_name.cpython-36.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/__pycache__/urllib2_build_opener.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/__pycache__/urllib2_build_opener.cpython-36.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/https.py
/usr/lib/python3.6/site-packages/ndg/httpsclient/ssl_context_util.py
/usr/lib/python3.6/site-packages/ndg/httpsclient/ssl_peer_verification.py
/usr/lib/python3.6/site-packages/ndg/httpsclient/ssl_socket.py
/usr/lib/python3.6/site-packages/ndg/httpsclient/subj_alt_name.py
/usr/lib/python3.6/site-packages/ndg/httpsclient/test
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/README
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/__init__.py
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/__pycache__
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/__pycache__/test_https.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/__pycache__/test_https.cpython-36.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/__pycache__/test_urllib2.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/__pycache__/test_urllib2.cpython-36.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/__pycache__/test_utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/__pycache__/test_utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/pki
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/pki/ca
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/pki/ca/7e15277f.0
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/pki/localhost.crt
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/pki/localhost.key
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/scripts
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/scripts/openssl_https_server.sh
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/test_https.py
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/test_urllib2.py
/usr/lib/python3.6/site-packages/ndg/httpsclient/test/test_utils.py
/usr/lib/python3.6/site-packages/ndg/httpsclient/urllib2_build_opener.py
/usr/lib/python3.6/site-packages/ndg/httpsclient/utils.py
/usr/lib/python3.6/site-packages/ndg_httpsclient-0.5.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/ndg_httpsclient-0.5.1-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/ndg_httpsclient-0.5.1-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/ndg_httpsclient-0.5.1-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/ndg_httpsclient-0.5.1-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/ndg_httpsclient-0.5.1-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/ndg_httpsclient-0.5.1-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/ndg_httpsclient-0.5.1-py3.6.egg-info/top_level.txt

References

Summary

In this tutorial we learn how to install python3-ndg_httpsclient on Rocky Linux 8 using yum and dnf.