Skip to content

Commit 34216c5

Browse files
authored
Update Debian installation instructions
1 parent 7b893e1 commit 34216c5

File tree

1 file changed

+14
-13
lines changed
  • content/operate/oss_and_stack/install/install-stack

1 file changed

+14
-13
lines changed

content/operate/oss_and_stack/install/install-stack/apt.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,33 +22,34 @@ curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyr
2222
sudo chmod 644 /usr/share/keyrings/redis-archive-keyring.gpg
2323
echo "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
2424
sudo apt-get update
25-
sudo apt-get install redis-server
25+
sudo apt-get install redis
2626
{{< /highlight >}}
2727

2828
The most recent version of Redis Open Source will be installed, along with the redis-tools package (redis-cli, etc.).
2929
If 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

4849
To 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

5455
Redis should start automatically after the initial installation, but it won't start automatically at boot time.

0 commit comments

Comments
 (0)