How To Install python3-asgiref on Fedora 36

In this tutorial we learn how to install python3-asgiref in Fedora 36. python3-asgiref is ASGI specs, helper code, and adapters

Introduction

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

What is python3-asgiref

ASGI is a standard for Python asynchronous web apps and servers to communicate with each other, and positioned as an asynchronous successor to WSGI. This package includes ASGI base libraries, such as * Sync-to-async and async-to-sync function wrappers, asgiref.sync * Server base classes, asgiref.server * A WSGI-to-ASGI adapter, in asgiref.wsgi

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

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

sudo dnf -y install python3-asgiref

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

sudo yum -y install python3-asgiref

How To Uninstall python3-asgiref on Fedora 36

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

sudo dnf remove python3-asgiref

python3-asgiref Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/asgiref
/usr/lib/python3.10/site-packages/asgiref-3.4.1.dist-info
/usr/lib/python3.10/site-packages/asgiref-3.4.1.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/asgiref-3.4.1.dist-info/LICENSE
/usr/lib/python3.10/site-packages/asgiref-3.4.1.dist-info/METADATA
/usr/lib/python3.10/site-packages/asgiref-3.4.1.dist-info/WHEEL
/usr/lib/python3.10/site-packages/asgiref-3.4.1.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/asgiref/__init__.py
/usr/lib/python3.10/site-packages/asgiref/__pycache__
/usr/lib/python3.10/site-packages/asgiref/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/_pep562.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/_pep562.cpython-310.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/compatibility.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/compatibility.cpython-310.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/current_thread_executor.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/current_thread_executor.cpython-310.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/local.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/local.cpython-310.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/server.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/server.cpython-310.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/sync.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/sync.cpython-310.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/testing.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/testing.cpython-310.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/timeout.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/timeout.cpython-310.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/typing.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/typing.cpython-310.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/wsgi.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/asgiref/__pycache__/wsgi.cpython-310.pyc
/usr/lib/python3.10/site-packages/asgiref/_pep562.py
/usr/lib/python3.10/site-packages/asgiref/compatibility.py
/usr/lib/python3.10/site-packages/asgiref/current_thread_executor.py
/usr/lib/python3.10/site-packages/asgiref/local.py
/usr/lib/python3.10/site-packages/asgiref/py.typed
/usr/lib/python3.10/site-packages/asgiref/server.py
/usr/lib/python3.10/site-packages/asgiref/sync.py
/usr/lib/python3.10/site-packages/asgiref/testing.py
/usr/lib/python3.10/site-packages/asgiref/timeout.py
/usr/lib/python3.10/site-packages/asgiref/typing.py
/usr/lib/python3.10/site-packages/asgiref/wsgi.py
/usr/share/doc/python3-asgiref
/usr/share/doc/python3-asgiref/README.rst
/usr/share/licenses/python3-asgiref
/usr/share/licenses/python3-asgiref/LICENSE

References

Summary

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