How To Install python3-websocket-client on Fedora 36

In this tutorial we learn how to install python3-websocket-client in Fedora 36. python3-websocket-client is WebSocket client for python

Introduction

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

What is python3-websocket-client

websocket-client is a WebSocket client for Python. It provides access to low level APIs for WebSockets. websocket-client implements version hybi-13 of the WebSocket protocol. This client does not currently support the permessage-deflate extension from RFC 7692.

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

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

sudo dnf -y install python3-websocket-client

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

sudo yum -y install python3-websocket-client

How To Uninstall python3-websocket-client on Fedora 36

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

sudo dnf remove python3-websocket-client

python3-websocket-client Package Contents on Fedora 36

/usr/bin/wsdump
/usr/lib/python3.10/site-packages/websocket
/usr/lib/python3.10/site-packages/websocket/__init__.py
/usr/lib/python3.10/site-packages/websocket/__pycache__
/usr/lib/python3.10/site-packages/websocket/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_abnf.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_abnf.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_app.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_app.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_cookiejar.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_cookiejar.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_core.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_core.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_handshake.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_handshake.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_http.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_http.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_logging.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_logging.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_socket.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_socket.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_ssl_compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_ssl_compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_url.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_url.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_wsdump.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/__pycache__/_wsdump.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/_abnf.py
/usr/lib/python3.10/site-packages/websocket/_app.py
/usr/lib/python3.10/site-packages/websocket/_cookiejar.py
/usr/lib/python3.10/site-packages/websocket/_core.py
/usr/lib/python3.10/site-packages/websocket/_exceptions.py
/usr/lib/python3.10/site-packages/websocket/_handshake.py
/usr/lib/python3.10/site-packages/websocket/_http.py
/usr/lib/python3.10/site-packages/websocket/_logging.py
/usr/lib/python3.10/site-packages/websocket/_socket.py
/usr/lib/python3.10/site-packages/websocket/_ssl_compat.py
/usr/lib/python3.10/site-packages/websocket/_url.py
/usr/lib/python3.10/site-packages/websocket/_utils.py
/usr/lib/python3.10/site-packages/websocket/_wsdump.py
/usr/lib/python3.10/site-packages/websocket/tests
/usr/lib/python3.10/site-packages/websocket/tests/__init__.py
/usr/lib/python3.10/site-packages/websocket/tests/__pycache__
/usr/lib/python3.10/site-packages/websocket/tests/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/tests/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/tests/__pycache__/echo-server.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/tests/__pycache__/echo-server.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/tests/__pycache__/test_abnf.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/tests/__pycache__/test_abnf.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/tests/__pycache__/test_app.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/tests/__pycache__/test_app.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/tests/__pycache__/test_cookiejar.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/tests/__pycache__/test_cookiejar.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/tests/__pycache__/test_http.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/tests/__pycache__/test_http.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/tests/__pycache__/test_url.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/tests/__pycache__/test_url.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/tests/__pycache__/test_websocket.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/websocket/tests/__pycache__/test_websocket.cpython-310.pyc
/usr/lib/python3.10/site-packages/websocket/tests/data
/usr/lib/python3.10/site-packages/websocket/tests/data/header01.txt
/usr/lib/python3.10/site-packages/websocket/tests/data/header02.txt
/usr/lib/python3.10/site-packages/websocket/tests/data/header03.txt
/usr/lib/python3.10/site-packages/websocket/tests/echo-server.py
/usr/lib/python3.10/site-packages/websocket/tests/test_abnf.py
/usr/lib/python3.10/site-packages/websocket/tests/test_app.py
/usr/lib/python3.10/site-packages/websocket/tests/test_cookiejar.py
/usr/lib/python3.10/site-packages/websocket/tests/test_http.py
/usr/lib/python3.10/site-packages/websocket/tests/test_url.py
/usr/lib/python3.10/site-packages/websocket/tests/test_websocket.py
/usr/lib/python3.10/site-packages/websocket_client-1.2.3.dist-info
/usr/lib/python3.10/site-packages/websocket_client-1.2.3.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/websocket_client-1.2.3.dist-info/LICENSE
/usr/lib/python3.10/site-packages/websocket_client-1.2.3.dist-info/METADATA
/usr/lib/python3.10/site-packages/websocket_client-1.2.3.dist-info/WHEEL
/usr/lib/python3.10/site-packages/websocket_client-1.2.3.dist-info/entry_points.txt
/usr/lib/python3.10/site-packages/websocket_client-1.2.3.dist-info/top_level.txt
/usr/share/doc/python3-websocket-client
/usr/share/doc/python3-websocket-client/ChangeLog
/usr/share/doc/python3-websocket-client/README.md
/usr/share/licenses/python3-websocket-client
/usr/share/licenses/python3-websocket-client/LICENSE

References

Summary

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