How To Install python3-httpx on Fedora 36

In this tutorial we learn how to install python3-httpx in Fedora 36. python3-httpx is Python HTTP client

Introduction

In this tutorial we learn how to install python3-httpx on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-httpx.

Install python3-httpx on Fedora 36 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 Fedora 36 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 Fedora 36

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

sudo dnf remove python3-httpx

python3-httpx Package Contents on Fedora 36

/usr/bin/httpx
/usr/lib/python3.10/site-packages/httpx
/usr/lib/python3.10/site-packages/httpx-0.21.1-py3.10.egg-info
/usr/lib/python3.10/site-packages/httpx-0.21.1-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/httpx-0.21.1-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/httpx-0.21.1-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/httpx-0.21.1-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/httpx-0.21.1-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/httpx-0.21.1-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/httpx-0.21.1-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/httpx/__init__.py
/usr/lib/python3.10/site-packages/httpx/__pycache__
/usr/lib/python3.10/site-packages/httpx/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/__version__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/__version__.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_api.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_api.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_auth.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_auth.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_client.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_client.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_config.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_content.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_content.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_decoders.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_decoders.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_main.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_main.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_models.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_models.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_multipart.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_multipart.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_status_codes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_status_codes.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_types.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_types.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/__pycache__/_utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/__version__.py
/usr/lib/python3.10/site-packages/httpx/_api.py
/usr/lib/python3.10/site-packages/httpx/_auth.py
/usr/lib/python3.10/site-packages/httpx/_client.py
/usr/lib/python3.10/site-packages/httpx/_compat.py
/usr/lib/python3.10/site-packages/httpx/_config.py
/usr/lib/python3.10/site-packages/httpx/_content.py
/usr/lib/python3.10/site-packages/httpx/_decoders.py
/usr/lib/python3.10/site-packages/httpx/_exceptions.py
/usr/lib/python3.10/site-packages/httpx/_main.py
/usr/lib/python3.10/site-packages/httpx/_models.py
/usr/lib/python3.10/site-packages/httpx/_multipart.py
/usr/lib/python3.10/site-packages/httpx/_status_codes.py
/usr/lib/python3.10/site-packages/httpx/_transports
/usr/lib/python3.10/site-packages/httpx/_transports/__init__.py
/usr/lib/python3.10/site-packages/httpx/_transports/__pycache__
/usr/lib/python3.10/site-packages/httpx/_transports/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/_transports/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/_transports/__pycache__/asgi.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/_transports/__pycache__/asgi.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/_transports/__pycache__/base.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/_transports/__pycache__/base.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/_transports/__pycache__/default.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/_transports/__pycache__/default.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/_transports/__pycache__/mock.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/_transports/__pycache__/mock.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/_transports/__pycache__/wsgi.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpx/_transports/__pycache__/wsgi.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpx/_transports/asgi.py
/usr/lib/python3.10/site-packages/httpx/_transports/base.py
/usr/lib/python3.10/site-packages/httpx/_transports/default.py
/usr/lib/python3.10/site-packages/httpx/_transports/mock.py
/usr/lib/python3.10/site-packages/httpx/_transports/wsgi.py
/usr/lib/python3.10/site-packages/httpx/_types.py
/usr/lib/python3.10/site-packages/httpx/_utils.py
/usr/lib/python3.10/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).