1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:47:35 +00:00

Documentation: Suggest gcc-9 on Ubuntu since PPA doesn't have 8 anymore

This commit is contained in:
Elisée Maurer 2020-01-04 23:38:15 +01:00 committed by Andreas Kling
parent 08c7b5068e
commit 9e22b83343

View file

@ -10,8 +10,8 @@ sudo apt install build-essential curl libmpfr-dev libmpc-dev libgmp-dev e2fsprog
Ensure your gcc version is >= 8 with `gcc --version`. Otherwise, install it (on Ubuntu) with: Ensure your gcc version is >= 8 with `gcc --version`. Otherwise, install it (on Ubuntu) with:
```bash ```bash
sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get install gcc-8 g++-8 sudo apt-get install gcc-9 g++-9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 900 --slave /usr/bin/g++ g++ /usr/bin/g++-9
``` ```
### macOS prerequisites ### macOS prerequisites