@@ -22,33 +22,34 @@ curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyr
2222sudo chmod 644 /usr/share/keyrings/redis-archive-keyring.gpg
2323echo "deb [ signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
2424sudo apt-get update
25- sudo apt-get install redis-server
25+ sudo apt-get install redis
2626{{< /highlight >}}
2727
2828The most recent version of Redis Open Source will be installed, along with the redis-tools package (redis-cli, etc.).
2929If you need to install an earlier version, run the following command to list the available versions:
3030
3131{{< highlight bash >}}
32- apt policy redis-server
32+ apt policy redis
3333
34- redis-server :
34+ redis:
3535 Installed: (none)
36- Candidate: 6:7.4.2 -1rl1~ jammy1
36+ Candidate: 6:8.0.0 -1rl1~ bookworm1
3737 Version table:
38- 6:7.4.2-1rl1~ jammy1 500
39- 500 https://packages.redis.io/deb jammy/main amd64 Packages
40- 6:7.4.1-1rl1~ jammy1 500
41- 500 https://packages.redis.io/deb jammy/main amd64 Packages
42- 6:7.4.0-1rl1~ jammy1 500
43- 500 https://packages.redis.io/deb jammy/main amd64 Packages
44- 6:7.2.7-1rl1~ jammy1 500
45- 500 https://packages.redis.io/deb jammy/main amd64 Packages
38+ 6:8.0.0-1rl1~ bookworm1 500
39+ 500 https://packages.redis.io/deb bookworm/main arm64 Packages
40+ 500 https://packages.redis.io/deb bookworm/main all Packages
41+ 6:7.4.3-1rl1~ bookworm1 500
42+ 500 https://packages.redis.io/deb bookworm/main arm64 Packages
43+ 500 https://packages.redis.io/deb bookworm/main all Packages
44+ 6:7.4.2-1rl1~ bookworm1 500
45+ 500 https://packages.redis.io/deb bookworm/main arm64 Packages
46+ 500 https://packages.redis.io/deb bookworm/main all Packages
4647{{< /highlight >}}
4748
4849To install an earlier version, say 7.4.2, run the following command:
4950
5051{{< highlight bash >}}
51- sudo apt-get install redis-server=6:7.4.2-1rl1 ~ jammy1 redis-tools =6:7.4.2-1rl1~ jammy1
52+ sudo apt-get install redis=6:7.4.2-1rl1~ jammy1
5253{{< /highlight >}}
5354
5455Redis should start automatically after the initial installation, but it won't start automatically at boot time.
0 commit comments