summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorThomas Wagenveld <thomas@thomasw.dev>2021-07-30 18:46:55 +0200
committerGunnar Beutner <gunnar@beutner.name>2021-07-30 19:00:46 +0200
commit1bfd405353da153974ba0fc675d1d25dcf97f33d (patch)
treeafcbfef2f96783208f127f466f4c27ecbd4cede5 /Documentation
parent7fce0693a511a4551399e01a8a4474d28a7c261c (diff)
downloadserenity-1bfd405353da153974ba0fc675d1d25dcf97f33d.zip
Documentation: Update instructions for Debian
Simply adding a 'testing' repo on a Debian stable system is destructive to the system. Add better hints on building Serenity on Debian.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/BuildInstructions.md7
1 files changed, 1 insertions, 6 deletions
diff --git a/Documentation/BuildInstructions.md b/Documentation/BuildInstructions.md
index 519cb1e91f..634a385c96 100644
--- a/Documentation/BuildInstructions.md
+++ b/Documentation/BuildInstructions.md
@@ -18,12 +18,7 @@ On Ubuntu gcc-10 is available in the repositories of 20.04 (Focal) and later - a
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
```
-On Debian you can use the Debian testing branch:
-
-```console
-sudo echo "deb http://http.us.debian.org/debian/ testing non-free contrib main" >> /etc/apt/sources.list
-sudo apt update
-```
+On Debian your system must be on the _testing_ or _unstable_ branch as gcc 10 is not available on _stable_ or in the backports. If you want to switch from _stable_ to _testing_, see the instructions on the Debian website on [switching to testing](https://wiki.debian.org/DebianTesting). Alternatively, if you want to stay on _stable_, you can build SerenityOS in a Debian testing or Ubuntu [Docker](https://www.docker.com/) container.
Now on Ubuntu or Debian you can install gcc-10 with apt like this: