Redis installation failed on version 24.04, how to resolve it?

I failed to install Redis on openEuler 24.04. How can I resolve this?

System Environment

  • openEuler Version: 24.04
  • Architecture: <architecture, e.g., x86_64 / aarch64>
  • Installation Command: <e.g., dnf install redis / yum install redis>

Error Message

<Paste the complete dnf/yum error output>

Goal

  • Hope to install Redis directly from the software repository
  • If the package is not available, please let me know which repository needs to be enabled or how to add it

Thank you!

First, you can resolve the software source issue mentioned in the previous question: Slow software source installation - Other Technical Issues - openEuler Forum.
Then, simply run dnf install -y redis.