Issue
How to install Redis on CloudLinux 10? The redis package can't be found on the standard almalinux repositories.
Environment
- CloudLinux 10
- Redis
- Valkey
Solution
Starting with EL10-based distributions, Redis is no longer provided in the standard repositories. Instead, AlmaLinux provides Valkey, a community-maintained fork of Redis that is fully compatible with Redis applications.
1- First, enable the AlmaLinux devel repository if it is not already installed:
# dnf install almalinux-release-devel
2- Then install Redis-compatible packages:
# dnf install redis
During installation, packages such as valkey and valkey-compat-redis may be installed. This is expected. Valkey is a drop-in replacement for Redis and is compatible with applications that use Redis.
3- Start and enable the service:
# systemctl enable --now valkey
# systemctl status valkey4- To make the package available inside CageFS, run:
# cagefsctl --addrpm package_name
# cagefsctl --force-updateReplace package_name with the package installed on your system (for example, valkey).
If you specifically require Redis rather than Valkey, it can be installed from a third-party repository such as Remi.
Installation steps are available here:
https://blog.remirepo.net/post/2025/07/25/Redis-version-8.0
Note: If CageFS is enabled on the server, make sure to complete Step 4 after the installation.
Cause
Due to Redis licensing changes, Redis packages were removed from the standard EL10 repositories and replaced with Valkey, an open-source fork that maintains Redis compatibility.
For additional information, AlmaLinux has documented this change here:
https://forums.almalinux.org/t/installation-redis-on-almalinux-10/6576/2
Comments
0 comments
Please sign in to leave a comment.