Installing Redict #
There are a few different ways to install Redict:
- From your system package manager, such as aptitude
- Installing Redict with a container runtime like Docker
- Building and installing Redict from source code
Choose the approach that best suits your needs.
Note: Are you switching from Redis®* to Redict? Consult our compatibility guide as well.
Installing from packages #
Your system distribution may include Redict in its package manager; if so this is the recommended means of installing Redict for your system. The recommended package name is simply “redict”.
Browse downstream Redict packages ⤑
After installation, run redict-server
, or use your distribution-provided
service manager (e.g. systemctl start redict
), to start the Redict server.
Consult your distribution’s documentation for more details on using Redict with
your system.
Installing Redict containers #
There are several official containers for Redict. See Usage with containers for details on using Redict with Docker, podman, Kubernetes, etc.
Installing from source #
To build Redict from source, you need a suitable C11 toolchain and GNU make.
Download the latest release from Codeberg (.tar.gz
) and install it to
/usr/local
like so:
# Substitute "$release" with the version number you've downloaded
$ tar -xzf redict-$release.tar.gz
$ cd redict-$release
$ make
$ sudo make install
Once installed, run redict-server
to start the Redict server. For more details
on customizing the build, enabling TLS support, and so on, consult instructions
in the README.md
file.