for redis version 6.2.x, the instruction from redis download page https://redis.io/download section From the official Ubuntu PPA
$ sudo add-apt-repository ppa:redislabs/redis
$ sudo apt-get update
$ sudo apt-get install redis
I believe the PPA is maintained by redis team.