How To Install mcrouter on Fedora 36

In this tutorial we learn how to install mcrouter in Fedora 36. mcrouter is Memcached protocol router for scaling memcached deployments

Introduction

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

What is mcrouter

Mcrouter (pronounced mc router) is a memcached protocol router for scaling memcached deployments. Because the routing and feature logic are abstracted from the client in mcrouter deployments, the client may simply communicate with destination hosts through mcrouter over a TCP connection using standard memcached protocol. Typically, little or no client modification is needed to use mcrouter, which was designed to be a drop-in proxy between the client and memcached hosts.

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

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

sudo dnf -y install mcrouter

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

sudo yum -y install mcrouter

How To Uninstall mcrouter on Fedora 36

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

sudo dnf remove mcrouter

mcrouter Package Contents on Fedora 36

/usr/bin/mcpiper
/usr/bin/mcrouter
/usr/lib/.build-id
/usr/lib/.build-id/86
/usr/lib/.build-id/86/4cc4b1b66fcb29768b87656ed3875f3f804d5f
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/475b00a1eb9513e03a21e22d72f0321c93cf0a
/usr/share/doc/mcrouter
/usr/share/doc/mcrouter/README.md
/usr/share/licenses/mcrouter
/usr/share/licenses/mcrouter/LICENSE

References

Summary

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