How To Install python3-dill on AlmaLinux 8

In this tutorial we learn how to install python3-dill in AlmaLinux 8. python3-dill is Serialize all of Python

Introduction

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

What is python3-dill

Dill extends python’s ‘pickle’ module for serializing and de-serializing python objects to the majority of the built-in python types. Dill provides the user the same interface as the ‘pickle’ module, and also includes some additional features. In addition to pickling python objects, dill provides the ability to save the state of an interpreter session in a single command.

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

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

sudo dnf -y install python3-dill

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

sudo yum -y install python3-dill

How To Uninstall python3-dill on AlmaLinux 8

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

sudo dnf remove python3-dill

References

Summary

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