aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authormichaelgrigoryan25 <56165400+michaelgrigoryan25@users.noreply.github.com>2022-12-01 19:42:40 +0400
committermichaelgrigoryan25 <56165400+michaelgrigoryan25@users.noreply.github.com>2022-12-01 19:42:40 +0400
commit4e997ff334b7e7a9569ba9bde92242900e283c76 (patch)
tree9da6fddf11b2ad1e5c32a38fb5018bcfc7da8932 /README.md
parent87ac22469d7aa29d5ade31293db527729b074da0 (diff)
downloadservo-4e997ff334b7e7a9569ba9bde92242900e283c76.tar.gz
servo-4e997ff334b7e7a9569ba9bde92242900e283c76.zip
Updated README to fix compatibility issues on Fedora.
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 19 insertions, 4 deletions
diff --git a/README.md b/README.md
index d5c5ac7d40e..ad642f43e54 100644
--- a/README.md
+++ b/README.md
@@ -95,12 +95,26 @@ If you get an undefined symbol error on `gst_player_get_config` try removing `gi
#### On Fedora
-``` sh
-sudo dnf install python3 python3-virtualenv python3-pip python3-devel
-python3 ./mach bootstrap
+```sh
+sudo dnf install python3.7 python3-devel
+```
+
+Installing pip 3.7 alongside Python 3.7 is vital. You might run into issues with virtualenv
+when trying to use Mach tools. You can install pip3.7 alongside virtualenv by executing:
+
+```sh
+curl https://bootstrap.pypa.io/get-pip.py | sudo -H python3.7
+python3.7 -m pip install virtualenv
```
-If `python3 ./mach bootstrap` doesn't work, file a bug, and, run the commands below:
+Fedora 37 aliases python3.11 as `python3` by default. For this reason, when running Mach tools, make sure you
+execeute them with Python 3.7:
+
+```py
+python3.7 ./mach run https://servo.org/
+```
+
+If `python3.7 ./mach bootstrap` doesn't work, file a bug, and run the commands below:
``` sh
sudo dnf install curl libtool gcc-c++ libXi-devel libunwind-devel \
@@ -113,6 +127,7 @@ sudo dnf install curl libtool gcc-c++ libXi-devel libunwind-devel \
libjpeg-turbo-devel zlib libjpeg
```
+
#### On CentOS
``` sh