How To Install perl-Redis on Rocky Linux 8

In this tutorial we learn how to install perl-Redis on Rocky Linux 8. perl-Redis is Perl binding for Redis database

Introduction

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

What is perl-Redis

Pure perl bindings for http

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

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

sudo dnf -y install perl-Redis

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

sudo yum -y install perl-Redis

How To Uninstall perl-Redis on Rocky Linux 8

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

sudo dnf remove perl-Redis

perl-Redis Package Contents on Rocky Linux 8

/usr/share/doc/perl-Redis
/usr/share/doc/perl-Redis/Changes
/usr/share/doc/perl-Redis/README
/usr/share/doc/perl-Redis/scripts
/usr/share/doc/perl-Redis/scripts/publish.pl
/usr/share/doc/perl-Redis/scripts/redis-benchmark.pl
/usr/share/doc/perl-Redis/tools
/usr/share/doc/perl-Redis/tools/benchmarks
/usr/share/doc/perl-Redis/tools/benchmarks/read_vs_sysread.pl
/usr/share/doc/perl-Redis/tools/benchmarks/readline_vs_sysread_vs_recv
/usr/share/doc/perl-Redis/tools/benchmarks/readline_vs_sysread_vs_recv/client-readline.pl
/usr/share/doc/perl-Redis/tools/benchmarks/readline_vs_sysread_vs_recv/client-recv.pl
/usr/share/doc/perl-Redis/tools/benchmarks/readline_vs_sysread_vs_recv/client-sysread.pl
/usr/share/doc/perl-Redis/tools/benchmarks/readline_vs_sysread_vs_recv/run.pl
/usr/share/doc/perl-Redis/tools/benchmarks/readline_vs_sysread_vs_recv/server-generator.pl
/usr/share/doc/perl-Redis/tools/html_doc_scrapper.pl
/usr/share/licenses/perl-Redis
/usr/share/licenses/perl-Redis/LICENSE
/usr/share/man/man3/Redis.3pm.gz
/usr/share/man/man3/Redis::Hash.3pm.gz
/usr/share/man/man3/Redis::List.3pm.gz
/usr/share/man/man3/Redis::Sentinel.3pm.gz
/usr/share/perl5/vendor_perl/Redis
/usr/share/perl5/vendor_perl/Redis.pm
/usr/share/perl5/vendor_perl/Redis/Hash.pm
/usr/share/perl5/vendor_perl/Redis/List.pm
/usr/share/perl5/vendor_perl/Redis/Sentinel.pm

References

Summary

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