How To Install python3-rencode on Fedora 36

In this tutorial we learn how to install python3-rencode in Fedora 36. python3-rencode is Web safe object pickling/unpickling

Introduction

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

What is python3-rencode

The rencode module is a modified version of bencode from the BitTorrent project. For complex, heterogeneous data structures with many small elements, r-encodings take up significantly less space than b-encodings.

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

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

sudo dnf -y install python3-rencode

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

sudo yum -y install python3-rencode

How To Uninstall python3-rencode on Fedora 36

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

sudo dnf remove python3-rencode

python3-rencode Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/35f78bd6dd31b1b19bc8e54381352c3a4abcb0
/usr/lib64/python3.10/site-packages/rencode
/usr/lib64/python3.10/site-packages/rencode-1.0.6-py3.10.egg-info
/usr/lib64/python3.10/site-packages/rencode-1.0.6-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/rencode-1.0.6-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/rencode-1.0.6-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/rencode-1.0.6-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/rencode/__init__.py
/usr/lib64/python3.10/site-packages/rencode/__pycache__
/usr/lib64/python3.10/site-packages/rencode/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/rencode/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/rencode/__pycache__/rencode_orig.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/rencode/__pycache__/rencode_orig.cpython-310.pyc
/usr/lib64/python3.10/site-packages/rencode/_rencode.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/rencode/rencode_orig.py
/usr/share/doc/python3-rencode
/usr/share/doc/python3-rencode/README.md
/usr/share/licenses/python3-rencode
/usr/share/licenses/python3-rencode/COPYING

References

Summary

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