How To Install perl-Data-Denter on AlmaLinux 8

In this tutorial we learn how to install perl-Data-Denter in AlmaLinux 8. perl-Data-Denter is An alternative to Data

Introduction

In this tutorial we learn how to install perl-Data-Denter on AlmaLinux 8.

What is perl-Data-Denter

The main problem with Data is that you have to use ’eval()’ to deserialize the data you’ve dumped. This is great if you can trust the data you’re evaling, but horrible if you can’t. A good alternative is Storable.pm. It can safely thaw your frozen data. But if you want to read/edit the frozen data, you’re out of luck, because Storable uses a binary format. Even Data can be a little cumbersome for larger data objects. Enter Data Data nested data structures in an indented fashion. It is optimized for human readability/editability, safe deserialization, and (eventually) speed.

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

Install perl-Data-Denter 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 perl-Data-Denter using dnf by running the following command:

sudo dnf -y install perl-Data-Denter

Install perl-Data-Denter 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 perl-Data-Denter using yum by running the following command:

sudo yum -y install perl-Data-Denter

How To Uninstall perl-Data-Denter on AlmaLinux 8

To uninstall only the perl-Data-Denter package we can use the following command:

sudo dnf remove perl-Data-Denter

References

Summary

In this tutorial we learn how to install perl-Data-Denter on AlmaLinux 8 using yum and dnf.