Skip to content

Commit 99e0cd4

Browse files
adamiBsdwdougherty
andauthored
Update Debian installation instructions (#1497)
* Update Debian installation instructions * A couple of updates --------- Co-authored-by: David W. Dougherty <dwdougherty@gmail.com>
1 parent 7b893e1 commit 99e0cd4

File tree

1 file changed

+16
-16
lines changed
  • content/operate/oss_and_stack/install/install-stack

1 file changed

+16
-16
lines changed

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ description: How to install Redis Open Source using APT
88
linkTitle: APT
99
title: Install Redis Open Source on Linux
1010
weight: 2
11-
bannerText: These installation instructions are not yet complete for Redis 8 in Redis Open Source (Redis 8). For installation instructions prior to Redis 8, see [these pages]({{< relref "/operate/oss_and_stack/install/archive" >}}).
1211
---
1312

1413
## Install Redis Open Source on Ubuntu or Debian Linux using APT
@@ -22,37 +21,38 @@ curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyr
2221
sudo chmod 644 /usr/share/keyrings/redis-archive-keyring.gpg
2322
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
2423
sudo apt-get update
25-
sudo apt-get install redis-server
24+
sudo apt-get install redis
2625
{{< /highlight >}}
2726

2827
The most recent version of Redis Open Source will be installed, along with the redis-tools package (redis-cli, etc.).
2928
If you need to install an earlier version, run the following command to list the available versions:
3029

3130
{{< highlight bash >}}
32-
apt policy redis-server
31+
apt policy redis
3332

34-
redis-server:
33+
redis:
3534
Installed: (none)
36-
Candidate: 6:7.4.2-1rl1~jammy1
35+
Candidate: 6:8.0.0-1rl1~bookworm1
3736
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
37+
6:8.0.0-1rl1~bookworm1 500
38+
500 https://packages.redis.io/deb bookworm/main arm64 Packages
39+
500 https://packages.redis.io/deb bookworm/main all Packages
40+
6:7.4.3-1rl1~bookworm1 500
41+
500 https://packages.redis.io/deb bookworm/main arm64 Packages
42+
500 https://packages.redis.io/deb bookworm/main all Packages
43+
6:7.4.2-1rl1~bookworm1 500
44+
500 https://packages.redis.io/deb bookworm/main arm64 Packages
45+
500 https://packages.redis.io/deb bookworm/main all Packages
4646
{{< /highlight >}}
4747

4848
To install an earlier version, say 7.4.2, run the following command:
4949

5050
{{< highlight bash >}}
51-
sudo apt-get install redis-server=6:7.4.2-1rl1~jammy1 redis-tools=6:7.4.2-1rl1~jammy1
51+
sudo apt-get install redis=6:7.4.2-1rl1~jammy1
5252
{{< /highlight >}}
5353

54-
Redis should start automatically after the initial installation, but it won't start automatically at boot time.
55-
To start Redis (if not already started) and enable it to start at boot time, run the following commands.
54+
Redis should start automatically after the initial installation and also at boot time.
55+
Should that not be the case on your system, run the following commands:
5656

5757
{{< highlight bash >}}
5858
sudo systemctl enable redis-server

0 commit comments

Comments
 (0)