6

I'd like to install the newest Redis Server 7 on my Ubuntu 22.04 (I've already installed Redis Server version 6 via standard workflow with apt install).

I tried to use a Snap package from https://snapcraft.io/redis

But my Redis is still version 6 and folder /Snap/bin looks like this (there is no redis-server command)

enter image description here

So it seems like Snap installation didn't replace existing Redis Server 6 installation.

Maybe I should go with some custom ppa: repository?

What I have to do in order to update Redis Server to version 7?

Thank you!

Eddie R
  • 301
  • 2
  • 9

1 Answers1

11

Updated answer (Aug 2022):

Old answer works well, but now snap has Redis 7 (be careful, redis.conf is not in /etc/redis/ anymore)

sudo snap install redis

Original answer:

instructions

repo

sudo add-apt-repository ppa:redislabs/redis

sudo apt-get update

sudo apt-get install redis
Eddie R
  • 301
  • 2
  • 9
  • actually I would be reluctant pulling from [this ppa](https://launchpad.net/~redislabs/+archive/ubuntu/redis) since the source is not the same as the one on the [redis website](https://redis.io/docs/getting-started/installation/install-redis-on-linux/) – lasec0203 Jun 09 '22 at 00:51