mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
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.
This commit is contained in:
parent
dff8b3d2d9
commit
9222064439
Notes:
sideshowbarker
2024-07-18 07:43:15 +09:00
Author: https://github.com/twvd Commit: https://github.com/SerenityOS/serenity/commit/9222064439f Pull-request: https://github.com/SerenityOS/serenity/pull/9116 Reviewed-by: https://github.com/gunnarbeutner ✅ Reviewed-by: https://github.com/linusg
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue