How To Install gawk-redis on Fedora 36

In this tutorial we learn how to install gawk-redis in Fedora 36. gawk-redis is Redis client library for gawk

Introduction

In this tutorial we learn how to install gawk-redis on Fedora 36.

What is gawk-redis

The gawk-redis module provides a gawk extension library for accessing Redis database servers using the hiredis C library API.

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

Install gawk-redis on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install gawk-redis using dnf by running the following command:

sudo dnf -y install gawk-redis

Install gawk-redis on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install gawk-redis using yum by running the following command:

sudo yum -y install gawk-redis

How To Uninstall gawk-redis on Fedora 36

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

sudo dnf remove gawk-redis

gawk-redis Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/db
/usr/lib/.build-id/db/975ac642ed62ed40415f3f673ba0a024eb4c6c
/usr/lib64/gawk/redis.so
/usr/share/doc/gawk-redis
/usr/share/doc/gawk-redis/NEWS
/usr/share/doc/gawk-redis/README.md
/usr/share/licenses/gawk-redis
/usr/share/licenses/gawk-redis/COPYING

References

Summary

In this tutorial we learn how to install gawk-redis on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).