Because of License change (non OpenSource), redis was replaced by valkey (an OpenSource fork) in EL-10
EL-9.7 will also have valkey
So I recommend to use valkey from the distribution which is fully compatible from the client point of view.
I don’t know why the valkey-compat-redis or the redis package are present in the “devel” repository (probably some artefacts from the EL-10 early dev stage). redis seems outdated (EL-9 has 7.2.10, the latest 7.2), valkey-compat-redis is not supported upstream (RHEL).
If you really need and really want redis or newer version of valkey, you can read:
- 📝 Redis version 8.0 - Remi's RPM repository - Blog
- 📝 Redis version 8.2 - Remi's RPM repository - Blog
- 📝 Valkey version 8.1 - Remi's RPM repository - Blog
But these are not official packages.