How To Install redis-doc on AlmaLinux 8

In this tutorial we learn how to install redis-doc in AlmaLinux 8. redis-doc is Documentation for Redis including man pages

Introduction

In this tutorial we learn how to install redis-doc on AlmaLinux 8.

What is redis-doc

Manual pages and detailed documentation for many aspects of Redis use, administration and development.

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

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

sudo dnf -y install redis-doc

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

sudo yum -y install redis-doc

How To Uninstall redis-doc on AlmaLinux 8

To uninstall only the redis-doc package we can use the following command:

sudo dnf remove redis-doc

References

Summary

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