How to install the latest redis version in Ubuntu

created at 07-22-2021 views: 5

Install

ubuntu uses the command to install the latest redis version, you only need to enter the following command to install the latest redis version

>>> sudo add-apt-repository ppa:chris-lea/redis-server  
>>> sudo apt-get update 
>>> sudo apt-get install -y redis-server

The add-apt-repository command generally does not come with the system, and you must install it yourself.

For ubuntu 12.04 and below, python-software-properties needs to be installed

sudo apt-get install python-software-properties

For ubuntu 12.10 and above, software-properties-common needs to be installed

sudo apt-get install software-properties-common
created at:07-22-2021
edited at: 07-22-2021: