How To Install perl-JSON-Parse on AlmaLinux 8

In this tutorial we learn how to install perl-JSON-Parse in AlmaLinux 8. perl-JSON-Parse is Read JSON into a Perl variable

Introduction

In this tutorial we learn how to install perl-JSON-Parse on AlmaLinux 8.

What is perl-JSON-Parse

A Perl module for parsing JSON. (JSON means “JavaScript Object Notation” and it is specified in “RFC 7159”.)

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

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

sudo dnf -y install perl-JSON-Parse

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

sudo yum -y install perl-JSON-Parse

How To Uninstall perl-JSON-Parse on AlmaLinux 8

To uninstall only the perl-JSON-Parse package we can use the following command:

sudo dnf remove perl-JSON-Parse

References

Summary

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