How To Install redis-devel on AlmaLinux 8

In this tutorial we learn how to install redis-devel in AlmaLinux 8. redis-devel is Development header for Redis module development

Introduction

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

What is redis-devel

Header file required for building loadable Redis modules. Detailed API documentation is available in the redis-doc package.

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

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

sudo dnf -y install redis-devel

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

sudo yum -y install redis-devel

How To Uninstall redis-devel on AlmaLinux 8

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

sudo dnf remove redis-devel

References

Summary

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