How To Install python3-httpbin on Fedora 36

In this tutorial we learn how to install python3-httpbin in Fedora 36. python3-httpbin is HTTP Request & Response Service, written in Python + Flask

Introduction

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

What is python3-httpbin

Testing an HTTP Library can become difficult sometimes. RequestBin is fantastic for testing POST requests, but doesn’t let you control the response. This exists to cover all kinds of HTTP scenarios. Additional endpoints are being considered. All endpoint responses are JSON-encoded. This package provides the Python 3 implementation.

We can use yum or dnf to install python3-httpbin on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-httpbin.

Install python3-httpbin 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-httpbin using dnf by running the following command:

sudo dnf -y install python3-httpbin

Install python3-httpbin 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-httpbin using yum by running the following command:

sudo yum -y install python3-httpbin

How To Uninstall python3-httpbin on Fedora 36

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

sudo dnf remove python3-httpbin

python3-httpbin Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/httpbin
/usr/lib/python3.10/site-packages/httpbin-0.7.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/httpbin-0.7.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/httpbin-0.7.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/httpbin-0.7.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/httpbin-0.7.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/httpbin-0.7.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/httpbin/__init__.py
/usr/lib/python3.10/site-packages/httpbin/__pycache__
/usr/lib/python3.10/site-packages/httpbin/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpbin/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpbin/__pycache__/core.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpbin/__pycache__/core.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpbin/__pycache__/filters.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpbin/__pycache__/filters.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpbin/__pycache__/helpers.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpbin/__pycache__/helpers.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpbin/__pycache__/structures.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpbin/__pycache__/structures.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpbin/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/httpbin/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/httpbin/core.py
/usr/lib/python3.10/site-packages/httpbin/filters.py
/usr/lib/python3.10/site-packages/httpbin/helpers.py
/usr/lib/python3.10/site-packages/httpbin/structures.py
/usr/lib/python3.10/site-packages/httpbin/templates
/usr/lib/python3.10/site-packages/httpbin/templates/UTF-8-demo.txt
/usr/lib/python3.10/site-packages/httpbin/templates/forms-post.html
/usr/lib/python3.10/site-packages/httpbin/templates/httpbin.1.html
/usr/lib/python3.10/site-packages/httpbin/templates/images
/usr/lib/python3.10/site-packages/httpbin/templates/images/jackal.jpg
/usr/lib/python3.10/site-packages/httpbin/templates/images/pig_icon.png
/usr/lib/python3.10/site-packages/httpbin/templates/images/svg_logo.svg
/usr/lib/python3.10/site-packages/httpbin/templates/images/wolf_1.webp
/usr/lib/python3.10/site-packages/httpbin/templates/index.html
/usr/lib/python3.10/site-packages/httpbin/templates/moby.html
/usr/lib/python3.10/site-packages/httpbin/templates/sample.xml
/usr/lib/python3.10/site-packages/httpbin/templates/trackingscripts.html
/usr/lib/python3.10/site-packages/httpbin/utils.py
/usr/share/doc/python3-httpbin
/usr/share/doc/python3-httpbin/AUTHORS
/usr/share/doc/python3-httpbin/README.md
/usr/share/licenses/python3-httpbin
/usr/share/licenses/python3-httpbin/LICENSE

References

Summary

In this tutorial we learn how to install python3-httpbin on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).