Topic: Centos8 redis 6

Is there a way to install redis6 on my centos8 server? I only get redis5 from the appstream repo...

Re: Centos8 redis 6

installing like this works though

dnf install https://mirror.serverion.com/remi/enter … x86_64.rpm

Re: Centos8 redis 6

CentOS 8 use modules, which allow to select a Stream

# dnf module list redis
Last metadata expiration check: 0:00:07 ago on Sat May 23 18:23:50 2020.
CentOS-8 - AppStream
Name              Stream               Profiles              Summary                                       
redis             5 [d]                common [d]            Redis persistent key-value database           

Remi's Modular repository for Enterprise Linux 8 - x86_64
Name              Stream               Profiles              Summary                                       
redis             remi-5.0             common [d]            Redis persistent key-value database           
redis             remi-6.0             common [d]            Redis persistent key-value database           

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

So default stream is the one from official AppStream repository

You can select another stream, to select which version you want

# dnf module  reset redis
remi-dev                                                                   2.9 MB/s | 3.0 kB     00:00    
Dependencies resolved.
===========================================================================================================
 Package                  Architecture            Version                   Repository                Size
===========================================================================================================
Resetting modules:
 redis                                                                                                    

Transaction Summary
===========================================================================================================

Is this ok [y/N]: y
Complete!

# dnf module enable redis:remi-6.0
remi-dev                                                                   2.9 MB/s | 3.0 kB     00:00    
Dependencies resolved.
===========================================================================================================
 Package                  Architecture            Version                   Repository                Size
===========================================================================================================
Enabling module streams:
 redis                                            remi-6.0                                                

Transaction Summary
===========================================================================================================

Is this ok [y/N]: y
Complete!

# dnf install redis
remi-dev                                                                   2.9 MB/s | 3.0 kB     00:00    
Dependencies resolved.
===========================================================================================================
 Package             Architecture         Version                         Repository                  Size
===========================================================================================================
Installing:
 redis               x86_64               6.0.4-1.el8.remi                remi-modular               1.1 M

Transaction Summary
===========================================================================================================
Install  1 Package

Total download size: 1.1 M
Installed size: 4.9 M
Is this ok [y/N]: y
Downloading Packages:
redis-6.0.4-1.el8.remi.x86_64.rpm                                          1.9 MB/s | 1.1 MB     00:00    
-----------------------------------------------------------------------------------------------------------
Total                                                                      1.9 MB/s | 1.1 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                   1/1 
  Running scriptlet: redis-6.0.4-1.el8.remi.x86_64                                                     1/1 
  Installing       : redis-6.0.4-1.el8.remi.x86_64                                                     1/1 
  Running scriptlet: redis-6.0.4-1.el8.remi.x86_64                                                     1/1 
  Verifying        : redis-6.0.4-1.el8.remi.x86_64                                                     1/1 

Installed:
  redis-6.0.4-1.el8.remi.x86_64                                                                            

Complete!

Even when installed manually, Worth to enable the proper stream to receive updates.

Desktop: Fedora 31 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 32 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: Centos8 redis 6

thanks man! works perfectly... fairly new to centos8