How To Install RediSearch on Fedora 34

RediSearch is Full-text search over Redis

Introduction

In this tutorial we learn how to install RediSearch on Fedora 34.

What is RediSearch

RediSearch implements a search engine on top of Redis, providing three main features - full text search, secondary indexing and a suggestion (auto-completion) engine. It provides advanced search features like exact phrase matching and numeric filtering for text queries, that are not possible or efficient with traditional Redis search approaches.

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

Install RediSearch on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install RediSearch

Install RediSearch on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install RediSearch using yum by running the following command:

sudo yum -y install RediSearch

How To Uninstall RediSearch on Fedora 34

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

sudo dnf remove RediSearch

RediSearch Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/da
/usr/lib/.build-id/da/90f85ff9542fea925fd350eb985b70c6785b64
/usr/lib64/redis/modules/redisearch.so
/usr/share/doc/RediSearch
/usr/share/doc/RediSearch/Administration.md
/usr/share/doc/RediSearch/Aggregations.md
/usr/share/doc/RediSearch/Chinese.md
/usr/share/doc/RediSearch/Clients.md
/usr/share/doc/RediSearch/Commands.md
/usr/share/doc/RediSearch/Configuring.md
/usr/share/doc/RediSearch/DESIGN.md
/usr/share/doc/RediSearch/Escaping.md
/usr/share/doc/RediSearch/Extensions.md
/usr/share/doc/RediSearch/Highlight.md
/usr/share/doc/RediSearch/Overview.md
/usr/share/doc/RediSearch/Query_Syntax.md
/usr/share/doc/RediSearch/Quick_Start.md
/usr/share/doc/RediSearch/README.md
/usr/share/doc/RediSearch/Scoring.md
/usr/share/doc/RediSearch/Sorting.md
/usr/share/doc/RediSearch/Stemming.md
/usr/share/doc/RediSearch/Stopwords.md
/usr/share/doc/RediSearch/Synonyms.md
/usr/share/doc/RediSearch/Tags.md
/usr/share/doc/RediSearch/Threading.md
/usr/share/doc/RediSearch/concurrency.png
/usr/share/doc/RediSearch/favicon.png
/usr/share/doc/RediSearch/go_client.md
/usr/share/doc/RediSearch/index.md
/usr/share/doc/RediSearch/java_client.md
/usr/share/doc/RediSearch/latency.png
/usr/share/doc/RediSearch/logo.png
/usr/share/doc/RediSearch/logo_small.png
/usr/share/doc/RediSearch/payloads.md
/usr/share/doc/RediSearch/python_client.md
/usr/share/doc/RediSearch/throughput.png
/usr/share/licenses/RediSearch
/usr/share/licenses/RediSearch/LICENSE

References

Summary

In this tutorial we learn how to install RediSearch on Fedora 34 using yum and dnf.