summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorThomas Wagenveld <thomas@thomasw.dev>2021-07-30 22:13:11 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-30 23:51:10 +0200
commit9222064439fd3326432f68817d2cbb1c26899f1c (patch)
treeb285d43f151c7bf4c675f61ad1800c5e5b23f642 /Documentation
parentdff8b3d2d9b89176af41f795c8e4a45176f8927b (diff)
downloadserenity-9222064439fd3326432f68817d2cbb1c26899f1c.zip
Documentation: Remove more potentially harmful Debian advice
Serenity build tooling autodetects gcc 10 so update-alternatives is not necessary. Also, switching apt repositories on the fly can cause issues with dependencies, package downgrades and leave the system in a broken state.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/BuildInstructions.md8
1 files changed, 0 insertions, 8 deletions
diff --git a/Documentation/BuildInstructions.md b/Documentation/BuildInstructions.md
index 634a385c96..025780df1d 100644
--- a/Documentation/BuildInstructions.md
+++ b/Documentation/BuildInstructions.md
@@ -24,14 +24,6 @@ Now on Ubuntu or Debian you can install gcc-10 with apt like this:
```console
sudo apt install gcc-10 g++-10
-sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 900 --slave /usr/bin/g++ g++ /usr/bin/g++-10
-```
-
-If you don't want to stay on the Debian testing branch you can switch back by running:
-
-```console
-sudo sed -i '$d' /etc/apt/sources.list
-sudo apt update
```
#### QEMU 5 or later