How To Install python3-rencode on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install python3-rencode on AlmaLinux 8.

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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-rencode.

Install python3-rencode on AlmaLinux 8 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 AlmaLinux 8 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 AlmaLinux 8

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

sudo dnf remove python3-rencode

References

Summary

In this tutorial we learn how to install python3-rencode on AlmaLinux 8 using yum and dnf.