mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:57:35 +00:00
Documentation: Move Ubuntu/Debian specific build instructions
Ubuntu/Debian specific instructions should live under the Ubuntu/Debian header
This commit is contained in:
parent
9bc0017499
commit
6ab48d612a
1 changed files with 15 additions and 4 deletions
|
@ -10,7 +10,17 @@ Ensure your [QEMU](https://www.qemu.org/) version is >= 5 with `qemu-system-i386
|
||||||
|
|
||||||
Ensure your gcc version is >= 10 with `gcc --version`. Otherwise, install it.
|
Ensure your gcc version is >= 10 with `gcc --version`. Otherwise, install it.
|
||||||
|
|
||||||
On Ubuntu it's in the repositories of 20.04 (Focal) and later - add the `ubuntu-toolchain-r/test` PPA if you're running an older version:
|
Make sure you have all the dependencies installed (`ninja` is optional, but is faster in practice):
|
||||||
|
|
||||||
|
#### Debian / Ubuntu
|
||||||
|
|
||||||
|
```console
|
||||||
|
sudo apt install build-essential cmake curl libmpfr-dev libmpc-dev libgmp-dev e2fsprogs ninja-build qemu-system-i386 qemu-utils ccache rsync
|
||||||
|
```
|
||||||
|
|
||||||
|
##### GCC 10
|
||||||
|
|
||||||
|
On Ubuntu gcc-10 is available in the repositories of 20.04 (Focal) and later - add the `ubuntu-toolchain-r/test` PPA if you're running an older version:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
|
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
|
||||||
|
@ -37,12 +47,13 @@ sudo sed -i '$d' /etc/apt/sources.list
|
||||||
sudo apt update
|
sudo apt update
|
||||||
```
|
```
|
||||||
|
|
||||||
Make sure you have all the dependencies installed (`ninja` is optional, but is faster in practice):
|
##### QEMU 5
|
||||||
|
|
||||||
#### Debian / Ubuntu
|
QUEMU version 5 is available in Ubuntu 20.10. For earlier versions, you can build it using the `Toolchain/BuildQemu.sh` script.
|
||||||
|
You may need the gtk+ 3.0 dev package:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
sudo apt install build-essential cmake curl libmpfr-dev libmpc-dev libgmp-dev e2fsprogs ninja-build qemu-system-i386 qemu-utils ccache rsync
|
sudo apt install libgtk-3-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Fedora
|
#### Fedora
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue