How To Install rejson on Fedora 36

In this tutorial we learn how to install rejson in Fedora 36. rejson is JSON data type for Redis

Introduction

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

What is rejson

ReJSON is a Redis module that implements the JSON Data Interchange Standard as a native data type. It allows storing, updating and fetching JSON values from Redis.

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

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

sudo dnf -y install rejson

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

sudo yum -y install rejson

How To Uninstall rejson on Fedora 36

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

sudo dnf remove rejson

rejson Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/42
/usr/lib/.build-id/42/15c3f252bf921376f8c2bdad07df2b34bf66c8
/usr/lib64/redis/modules/rejson.so
/usr/share/doc/rejson
/usr/share/doc/rejson/README.md
/usr/share/doc/rejson/bench_empty_string.png
/usr/share/doc/rejson/bench_empty_string_p.png
/usr/share/doc/rejson/bench_lua_get_path.png
/usr/share/doc/rejson/bench_lua_get_path_l.png
/usr/share/doc/rejson/bench_lua_get_root.png
/usr/share/doc/rejson/bench_lua_get_root_l.png
/usr/share/doc/rejson/bench_lua_pass_100.png
/usr/share/doc/rejson/bench_lua_pass_100_l.png
/usr/share/doc/rejson/bench_lua_pass_json_parser_0000.png
/usr/share/doc/rejson/bench_lua_pass_json_parser_0000_l.png
/usr/share/doc/rejson/bench_lua_pass_jsonsl_1.png
/usr/share/doc/rejson/bench_lua_pass_jsonsl_1_l.png
/usr/share/doc/rejson/bench_lua_pass_jsonsl_yahoo2.png
/usr/share/doc/rejson/bench_lua_pass_jsonsl_yahoo2_l.png
/usr/share/doc/rejson/bench_lua_pass_jsonsl_yelp.png
/usr/share/doc/rejson/bench_lua_pass_jsonsl_yelp_l.png
/usr/share/doc/rejson/bench_lua_set_path.png
/usr/share/doc/rejson/bench_lua_set_path_l.png
/usr/share/doc/rejson/bench_lua_set_root.png
/usr/share/doc/rejson/bench_lua_set_root_l.png
/usr/share/doc/rejson/bench_numbers.png
/usr/share/doc/rejson/bench_numbers_p.png
/usr/share/doc/rejson/bench_pass_100.png
/usr/share/doc/rejson/bench_pass_100_p.png
/usr/share/doc/rejson/bench_pass_json_parser_0000.png
/usr/share/doc/rejson/bench_pass_json_parser_0000_p.png
/usr/share/doc/rejson/bench_pass_jsonsl_1.png
/usr/share/doc/rejson/bench_pass_jsonsl_1_p.png
/usr/share/doc/rejson/bench_ping.png
/usr/share/doc/rejson/bench_ping_p.png
/usr/share/doc/rejson/commands.md
/usr/share/doc/rejson/demo.gif
/usr/share/doc/rejson/developer.md
/usr/share/doc/rejson/favicon.png
/usr/share/doc/rejson/index.md
/usr/share/doc/rejson/logo.svg
/usr/share/doc/rejson/path.md
/usr/share/doc/rejson/performance.md
/usr/share/doc/rejson/ram.md
/usr/share/licenses/rejson
/usr/share/licenses/rejson/LICENSE

References

Summary

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