Skip to main content

Redis - Installation on RedHat 9

Install the Latest Version using the Remi Repository

For the latest stable version of Redis, you can use the Remi repository, which provides more recent packages for RHEL derivatives.
  1. Install the Remi repository configuration package:

    sudo dnf install -y https://rpms.remirepo.net/enterprise/remi-release-9.rpm
    
  2. Enable the specific Redis module stream (e.g., Redis 7.2) from the Remi repository:

    sudo dnf module enable redis:remi-7.2 -y
    
  3. Install Redis:

    sudo dnf install -y redis
    
  4. Start and enable the Redis service:

    sudo systemctl enable --now redis