summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Feliz <dannyfeliz08@gmail.com>2019-10-15 03:11:00 -0400
committerAndreas Kling <awesomekling@gmail.com>2019-10-15 09:11:00 +0200
commit45fa3b745445bb82121fb810b6ea6ab6022bcd25 (patch)
treed738a9b0a05c725fc01f5ae71b77aee855b56db5
parent10324bc574a7932883065085b6ff092cab7ba6bb (diff)
downloadserenity-45fa3b745445bb82121fb810b6ea6ab6022bcd25.zip
Meta: Fix shell syntax highlighting in ReadMe (#661)
-rw-r--r--ReadMe.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/ReadMe.md b/ReadMe.md
index f1424d3e82..bda96fbe61 100644
--- a/ReadMe.md
+++ b/ReadMe.md
@@ -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.