How To Install python3-httpx on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-httpx
on Rocky Linux 8.
What is python3-httpx
HTTPX is a fully featured HTTP client for Python, which provides sync and async APIs, and support for both HTTP/1.1 and HTTP/2.
We can use yum
or dnf
to install python3-httpx
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-httpx.
Install python3-httpx 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-httpx
using dnf
by running the following command:
sudo dnf -y install python3-httpx
Install python3-httpx 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-httpx
using yum
by running the following command:
sudo yum -y install python3-httpx
How To Uninstall python3-httpx on Rocky Linux 8
To uninstall only the python3-httpx
package we can use the following command:
sudo dnf remove python3-httpx
python3-httpx Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/httpx
/usr/lib/python3.6/site-packages/httpx-0.16.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/httpx-0.16.1-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/httpx-0.16.1-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/httpx-0.16.1-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/httpx-0.16.1-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/httpx-0.16.1-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/httpx-0.16.1-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/httpx/__init__.py
/usr/lib/python3.6/site-packages/httpx/__pycache__
/usr/lib/python3.6/site-packages/httpx/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/__version__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/__version__.cpython-36.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_api.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_api.cpython-36.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_auth.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_auth.cpython-36.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_client.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_client.cpython-36.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_config.cpython-36.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_content.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_content.cpython-36.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_decoders.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_decoders.cpython-36.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_models.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_models.cpython-36.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_multipart.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_multipart.cpython-36.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_status_codes.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_status_codes.cpython-36.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_types.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_types.cpython-36.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/httpx/__pycache__/_utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/httpx/__version__.py
/usr/lib/python3.6/site-packages/httpx/_api.py
/usr/lib/python3.6/site-packages/httpx/_auth.py
/usr/lib/python3.6/site-packages/httpx/_client.py
/usr/lib/python3.6/site-packages/httpx/_config.py
/usr/lib/python3.6/site-packages/httpx/_content.py
/usr/lib/python3.6/site-packages/httpx/_decoders.py
/usr/lib/python3.6/site-packages/httpx/_exceptions.py
/usr/lib/python3.6/site-packages/httpx/_models.py
/usr/lib/python3.6/site-packages/httpx/_multipart.py
/usr/lib/python3.6/site-packages/httpx/_status_codes.py
/usr/lib/python3.6/site-packages/httpx/_transports
/usr/lib/python3.6/site-packages/httpx/_transports/__init__.py
/usr/lib/python3.6/site-packages/httpx/_transports/__pycache__
/usr/lib/python3.6/site-packages/httpx/_transports/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/httpx/_transports/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/httpx/_transports/__pycache__/asgi.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/httpx/_transports/__pycache__/asgi.cpython-36.pyc
/usr/lib/python3.6/site-packages/httpx/_transports/__pycache__/wsgi.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/httpx/_transports/__pycache__/wsgi.cpython-36.pyc
/usr/lib/python3.6/site-packages/httpx/_transports/asgi.py
/usr/lib/python3.6/site-packages/httpx/_transports/wsgi.py
/usr/lib/python3.6/site-packages/httpx/_types.py
/usr/lib/python3.6/site-packages/httpx/_utils.py
/usr/lib/python3.6/site-packages/httpx/py.typed
/usr/share/doc/python3-httpx
/usr/share/doc/python3-httpx/README.md
/usr/share/licenses/python3-httpx
/usr/share/licenses/python3-httpx/LICENSE.md
References
Summary
In this tutorial we learn how to install python3-httpx
on Rocky Linux 8 using yum and dnf.