How To Install hiredis on Fedora 36

In this tutorial we learn how to install hiredis in Fedora 36. hiredis is Minimalistic C client library for Redis

Introduction

In this tutorial we learn how to install hiredis on Fedora 36.

What is hiredis

Hiredis is a minimalistic C client library for the Redis database.

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

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

sudo dnf -y install hiredis

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

sudo yum -y install hiredis

How To Uninstall hiredis on Fedora 36

To uninstall only the hiredis package we can use the following command:

sudo dnf remove hiredis

hiredis Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/52
/usr/lib/.build-id/52/4ec1895260b3cdf6cc53f3b11c8e9597fcb53d
/usr/lib64/libhiredis.so.1.0.0
/usr/share/doc/hiredis
/usr/share/doc/hiredis/COPYING

References

Summary

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


title: “How To Install hiredis on Fedora 36” linkTitle: “hiredis” type: “docs” description: “In this tutorial we learn how to install hiredis in Fedora 36. hiredis is Minimalistic C client library for Redis” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/hiredis-featured.png

Introduction

In this tutorial we learn how to install hiredis on Fedora 36.

What is hiredis

Hiredis is a minimalistic C client library for the Redis database.

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

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

sudo dnf -y install hiredis

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

sudo yum -y install hiredis

How To Uninstall hiredis on Fedora 36

To uninstall only the hiredis package we can use the following command:

sudo dnf remove hiredis

hiredis Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/61
/usr/lib/.build-id/61/54b5c1ff0101f66b99eda62caf07fc9b2a61b7
/usr/lib/libhiredis.so.1.0.0
/usr/share/doc/hiredis
/usr/share/doc/hiredis/COPYING

References

Summary

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