Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 28ffff7

Browse files
authored
Instructions on installing RC debs (#10396)
1 parent c82eb02 commit 28ffff7

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

changelog.d/10396.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add instructructions on installing Debian packages for release candidates.

docs/setup/installation.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,8 @@ For more details, see
268268

269269
##### Matrix.org packages
270270

271-
Matrix.org provides Debian/Ubuntu packages of the latest stable version of
272-
Synapse via <https://packages.matrix.org/debian/>. They are available for Debian
273-
9 (Stretch), Ubuntu 16.04 (Xenial), and later. To use them:
271+
Matrix.org provides Debian/Ubuntu packages of Synapse via
272+
<https://packages.matrix.org/debian/>. To install the latest release:
274273

275274
```sh
276275
sudo apt install -y lsb-release wget apt-transport-https
@@ -281,12 +280,16 @@ sudo apt update
281280
sudo apt install matrix-synapse-py3
282281
```
283282

284-
**Note**: if you followed a previous version of these instructions which
285-
recommended using `apt-key add` to add an old key from
286-
`https://matrix.org/packages/debian/`, you should note that this key has been
287-
revoked. You should remove the old key with `sudo apt-key remove
288-
C35EB17E1EAE708E6603A9B3AD0592FE47F0DF61`, and follow the above instructions to
289-
update your configuration.
283+
Packages are also published for release candidates. To enable the prerelease
284+
channel, add `prerelease` to the `sources.list` line. For example:
285+
286+
```sh
287+
sudo wget -O /usr/share/keyrings/matrix-org-archive-keyring.gpg https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg
288+
echo "deb [signed-by=/usr/share/keyrings/matrix-org-archive-keyring.gpg] https://packages.matrix.org/debian/ $(lsb_release -cs) main prerelease" |
289+
sudo tee /etc/apt/sources.list.d/matrix-org.list
290+
sudo apt update
291+
sudo apt install matrix-synapse-py3
292+
```
290293

291294
The fingerprint of the repository signing key (as shown by `gpg
292295
/usr/share/keyrings/matrix-org-archive-keyring.gpg`) is

0 commit comments

Comments
 (0)