mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
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.
This commit is contained in:
parent
7fce0693a5
commit
1bfd405353
Notes:
sideshowbarker
2024-07-18 07:44:41 +09:00
Author: https://github.com/twvd Commit: https://github.com/SerenityOS/serenity/commit/1bfd405353d Pull-request: https://github.com/SerenityOS/serenity/pull/9114
1 changed files with 1 additions and 6 deletions
|
@ -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
|
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
|
||||||
```
|
```
|
||||||
|
|
||||||
On Debian you can use the Debian testing branch:
|
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.
|
||||||
|
|
||||||
```console
|
|
||||||
sudo echo "deb http://http.us.debian.org/debian/ testing non-free contrib main" >> /etc/apt/sources.list
|
|
||||||
sudo apt update
|
|
||||||
```
|
|
||||||
|
|
||||||
Now on Ubuntu or Debian you can install gcc-10 with apt like this:
|
Now on Ubuntu or Debian you can install gcc-10 with apt like this:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue