How To Install perl-JSON-RPC on Rocky Linux 8

In this tutorial we learn how to install perl-JSON-RPC on Rocky Linux 8. perl-JSON-RPC is Perl implementation of JSON-RPC 1.1 protocol

Introduction

In this tutorial we learn how to install perl-JSON-RPC on Rocky Linux 8.

What is perl-JSON-RPC

JSON-RPC is a stateless and light-weight remote procedure call (RPC) protocol for inter-networking applications over HTTP. It uses JSON as the data format for of all facets of a remote procedure call, including all application data carried in parameters.

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

Install perl-JSON-RPC on Rocky Linux 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-RPC using dnf by running the following command:

sudo dnf -y install perl-JSON-RPC

Install perl-JSON-RPC on Rocky Linux 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-RPC using yum by running the following command:

sudo yum -y install perl-JSON-RPC

How To Uninstall perl-JSON-RPC on Rocky Linux 8

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

sudo dnf remove perl-JSON-RPC

perl-JSON-RPC Package Contents on Rocky Linux 8

/usr/share/doc/perl-JSON-RPC
/usr/share/doc/perl-JSON-RPC/Changes
/usr/share/licenses/perl-JSON-RPC
/usr/share/licenses/perl-JSON-RPC/LICENSE
/usr/share/man/man3/JSON::RPC.3pm.gz
/usr/share/man/man3/JSON::RPC::Constants.3pm.gz
/usr/share/man/man3/JSON::RPC::Dispatch.3pm.gz
/usr/share/man/man3/JSON::RPC::Legacy.3pm.gz
/usr/share/man/man3/JSON::RPC::Legacy::Client.3pm.gz
/usr/share/man/man3/JSON::RPC::Legacy::Procedure.3pm.gz
/usr/share/man/man3/JSON::RPC::Legacy::Server.3pm.gz
/usr/share/man/man3/JSON::RPC::Legacy::Server::Apache2.3pm.gz
/usr/share/man/man3/JSON::RPC::Legacy::Server::CGI.3pm.gz
/usr/share/man/man3/JSON::RPC::Legacy::Server::Daemon.3pm.gz
/usr/share/man/man3/JSON::RPC::Parser.3pm.gz
/usr/share/man/man3/JSON::RPC::Procedure.3pm.gz
/usr/share/man/man3/JSON::RPC::Test.3pm.gz
/usr/share/perl5/vendor_perl/JSON/RPC.pm
/usr/share/perl5/vendor_perl/JSON/RPC/Constants.pm
/usr/share/perl5/vendor_perl/JSON/RPC/Dispatch.pm
/usr/share/perl5/vendor_perl/JSON/RPC/Legacy.pm
/usr/share/perl5/vendor_perl/JSON/RPC/Legacy/Client.pm
/usr/share/perl5/vendor_perl/JSON/RPC/Legacy/Procedure.pm
/usr/share/perl5/vendor_perl/JSON/RPC/Parser.pm
/usr/share/perl5/vendor_perl/JSON/RPC/Procedure.pm
/usr/share/perl5/vendor_perl/JSON/RPC/Test.pm

References

Summary

In this tutorial we learn how to install perl-JSON-RPC on Rocky Linux 8 using yum and dnf.