mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
Meta: Fix shell syntax highlighting in ReadMe (#661)
This commit is contained in:
parent
10324bc574
commit
45fa3b7454
|
@ -63,12 +63,12 @@ There's also a [Patreon](https://www.patreon.com/serenityos) if you would like t
|
|||
|
||||
Make sure you have all the dependencies installed:
|
||||
|
||||
```
|
||||
```bash
|
||||
sudo apt install build-essential curl libmpfr-dev libmpc-dev libgmp-dev e2fsprogs qemu-system-i386 qemu-utils
|
||||
```
|
||||
|
||||
Ensure your gcc version is >= 8 with `gcc --version`. Otherwise, install it (on Ubuntu) with:
|
||||
```
|
||||
```bash
|
||||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
|
||||
sudo apt-get install gcc-8 g++-8
|
||||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8
|
||||
|
@ -96,7 +96,7 @@ Nevertheless, here is a guide on how to [get an Insider Build](https://insider.w
|
|||
|
||||
WSL2 does not natively support graphical applications. This means that to actually **./run** SerenityOS, you need an X Server for windows. [Vcxsrv](https://sourceforge.net/projects/vcxsrv/) is a good option. When you start up Vcxsrv, make sure to set the Display number to 0, and to Disable access control. Before actually doing **./run**, you need to set the DISPLAY environmental variable as such:
|
||||
|
||||
```
|
||||
```bash
|
||||
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
|
||||
```
|
||||
This is due to a bug in WSL2. For more information, microsoft/WSL#4106.
|
||||
|
|
Loading…
Reference in a new issue