From 2b5e6df9669dd818e7955b8ed40a8361cc0b5445 Mon Sep 17 00:00:00 2001 From: Daniel Alley Date: Mon, 6 Apr 2020 14:05:34 -0400 Subject: Update README instructions for Fedora, remove Ubuntu 14.04 workarounds Fedora 31+ doesn't have python2-virtualenv, so using mach with Python 3 is required. Ubuntu 14.04 is no longer receiving upstream support. --- README.md | 38 +++----------------------------------- 1 file changed, 3 insertions(+), 35 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index f9338b01fb5..edb4daf09c0 100644 --- a/README.md +++ b/README.md @@ -86,46 +86,14 @@ If you are using **Ubuntu 16.04** or **Linux Mint 18.*** run `export HARFBUZ If you get an undefined symbol error on `gst_player_get_config` try removing `gir1.2-gst-plugins-bad-1.0` and all old versions of clang, see [#22016](https://github.com/servo/servo/issues/22016) -If you are on **Ubuntu 14.04** and encountered errors on installing these dependencies involving `libcheese`, see [#6158](https://github.com/servo/servo/issues/6158) for a workaround. You may also need to install gcc 4.9, clang 4.0, and cmake 3.2: - -
-gcc 4.9: - -```sh -sudo add-apt-repository ppa:ubuntu-toolchain-r/test -sudo apt-get update -sudo apt-get install gcc-4.9 g++-4.9 -sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9 -``` - -clang 4.0: - -```sh -wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - -sudo apt-add-repository "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-4.0 main" -sudo apt-get update -sudo apt-get install -y clang-4.0 -``` - -cmake 3.2: - -```sh -sudo apt-get install software-properties-common -sudo add-apt-repository ppa:george-edison55/cmake-3.x -sudo apt-get update -sudo apt-get install cmake -``` - -
- #### On Fedora ``` sh -sudo dnf install python2 python2-virtualenv python2-pip -./mach bootstrap +sudo dnf install python3 python3-virtualenv python3-pip +python3 ./mach bootstrap ``` -If `./mach bootstrap` doesn't work, file a bug, and, run the commands below: +If `python3 ./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 \ -- cgit v1.2.3