How To Install python3-doubleratchet on Fedora 36

In this tutorial we learn how to install python3-doubleratchet in Fedora 36. python3-doubleratchet is Python implementation of the Double Ratchet algorithm

Introduction

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

What is python3-doubleratchet

This python library offers an implementation of the Double Ratchet algorithm. A double ratchet allows message encryption providing perfect forward secrecy. A double ratchet instance synchronizes with a second instance using Diffie-Hellman calculations, that are provided by the DHRatchet class.

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

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

sudo dnf -y install python3-doubleratchet

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

sudo yum -y install python3-doubleratchet

How To Uninstall python3-doubleratchet on Fedora 36

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

sudo dnf remove python3-doubleratchet

python3-doubleratchet Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/DoubleRatchet-0.7.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/DoubleRatchet-0.7.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/DoubleRatchet-0.7.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/DoubleRatchet-0.7.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/DoubleRatchet-0.7.0-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/DoubleRatchet-0.7.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/DoubleRatchet-0.7.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/doubleratchet
/usr/lib/python3.10/site-packages/doubleratchet/__init__.py
/usr/lib/python3.10/site-packages/doubleratchet/__pycache__
/usr/lib/python3.10/site-packages/doubleratchet/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/__pycache__/aead.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/__pycache__/aead.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/__pycache__/header.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/__pycache__/header.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/__pycache__/kdf.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/__pycache__/kdf.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/__pycache__/keypair.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/__pycache__/keypair.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/__pycache__/serializable.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/__pycache__/serializable.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/__pycache__/version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/__pycache__/version.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/aead.py
/usr/lib/python3.10/site-packages/doubleratchet/exceptions
/usr/lib/python3.10/site-packages/doubleratchet/exceptions/__init__.py
/usr/lib/python3.10/site-packages/doubleratchet/exceptions/__pycache__
/usr/lib/python3.10/site-packages/doubleratchet/exceptions/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/exceptions/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/exceptions/__pycache__/authenticationfailedexception.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/exceptions/__pycache__/authenticationfailedexception.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/exceptions/__pycache__/missingkeyexception.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/exceptions/__pycache__/missingkeyexception.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/exceptions/__pycache__/notinitializedexception.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/exceptions/__pycache__/notinitializedexception.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/exceptions/__pycache__/toomanysavedmessagekeysexception.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/exceptions/__pycache__/toomanysavedmessagekeysexception.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/exceptions/authenticationfailedexception.py
/usr/lib/python3.10/site-packages/doubleratchet/exceptions/missingkeyexception.py
/usr/lib/python3.10/site-packages/doubleratchet/exceptions/notinitializedexception.py
/usr/lib/python3.10/site-packages/doubleratchet/exceptions/toomanysavedmessagekeysexception.py
/usr/lib/python3.10/site-packages/doubleratchet/header.py
/usr/lib/python3.10/site-packages/doubleratchet/kdf.py
/usr/lib/python3.10/site-packages/doubleratchet/kdfchains
/usr/lib/python3.10/site-packages/doubleratchet/kdfchains/__init__.py
/usr/lib/python3.10/site-packages/doubleratchet/kdfchains/__pycache__
/usr/lib/python3.10/site-packages/doubleratchet/kdfchains/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/kdfchains/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/kdfchains/__pycache__/constkdfchain.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/kdfchains/__pycache__/constkdfchain.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/kdfchains/__pycache__/kdfchain.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/kdfchains/__pycache__/kdfchain.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/kdfchains/constkdfchain.py
/usr/lib/python3.10/site-packages/doubleratchet/kdfchains/kdfchain.py
/usr/lib/python3.10/site-packages/doubleratchet/keypair.py
/usr/lib/python3.10/site-packages/doubleratchet/ratchets
/usr/lib/python3.10/site-packages/doubleratchet/ratchets/__init__.py
/usr/lib/python3.10/site-packages/doubleratchet/ratchets/__pycache__
/usr/lib/python3.10/site-packages/doubleratchet/ratchets/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/ratchets/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/ratchets/__pycache__/dhratchet.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/ratchets/__pycache__/dhratchet.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/ratchets/__pycache__/doubleratchet.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/ratchets/__pycache__/doubleratchet.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/ratchets/__pycache__/ratchet.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/ratchets/__pycache__/ratchet.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/ratchets/__pycache__/symmetrickeyratchet.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/ratchets/__pycache__/symmetrickeyratchet.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/ratchets/dhratchet.py
/usr/lib/python3.10/site-packages/doubleratchet/ratchets/doubleratchet.py
/usr/lib/python3.10/site-packages/doubleratchet/ratchets/ratchet.py
/usr/lib/python3.10/site-packages/doubleratchet/ratchets/symmetrickeyratchet.py
/usr/lib/python3.10/site-packages/doubleratchet/recommended
/usr/lib/python3.10/site-packages/doubleratchet/recommended/__init__.py
/usr/lib/python3.10/site-packages/doubleratchet/recommended/__pycache__
/usr/lib/python3.10/site-packages/doubleratchet/recommended/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/recommended/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/recommended/__pycache__/cbchmacaead.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/recommended/__pycache__/cbchmacaead.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/recommended/__pycache__/chainkeykdf.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/recommended/__pycache__/chainkeykdf.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/recommended/__pycache__/rootkeykdf.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/doubleratchet/recommended/__pycache__/rootkeykdf.cpython-310.pyc
/usr/lib/python3.10/site-packages/doubleratchet/recommended/cbchmacaead.py
/usr/lib/python3.10/site-packages/doubleratchet/recommended/chainkeykdf.py
/usr/lib/python3.10/site-packages/doubleratchet/recommended/rootkeykdf.py
/usr/lib/python3.10/site-packages/doubleratchet/serializable.py
/usr/lib/python3.10/site-packages/doubleratchet/version.py
/usr/share/doc/python3-doubleratchet
/usr/share/doc/python3-doubleratchet/README.md
/usr/share/licenses/python3-doubleratchet
/usr/share/licenses/python3-doubleratchet/LICENSE

References

Summary

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