tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

setup.sh (1077B)


      1 #!/usr/bin/env bash
      2 
      3 # This Source Code Form is subject to the terms of the Mozilla Public
      4 # License, v. 2.0. If a copy of the MPL was not distributed with this
      5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      6 
      7 set -o errexit
      8 set -o nounset
      9 set -o pipefail
     10 set -o xtrace
     11 
     12 test "$(whoami)" == 'root'
     13 
     14 # Install stuff we need
     15 apt-get -y update
     16 apt-get install -y \
     17    bison \
     18    bzip2 \
     19    cmake \
     20    curl \
     21    flex \
     22    gcc \
     23    git \
     24    g++ \
     25    libfontconfig1-dev \
     26    libgl1-mesa-dev \
     27    libx11-dev \
     28    llvm-dev \
     29    ninja-build \
     30    pkg-config \
     31    software-properties-common \
     32    clang
     33 
     34 # some reftests fail with freetype >= 2.10, so downgrade to the version in
     35 # Debian buster. See bug 1804782.
     36 apt-get -y remove libfreetype-dev
     37 curl -LO http://snapshot.debian.org/archive/debian/20220718T031307Z/pool/main/f/freetype/libfreetype6_2.9.1-3%2Bdeb10u3_amd64.deb
     38 curl -LO http://snapshot.debian.org/archive/debian/20220718T031307Z/pool/main/f/freetype/libfreetype6-dev_2.9.1-3%2Bdeb10u3_amd64.deb
     39 
     40 dpkg -i libfreetype6*.deb
     41 rm libfreetype6*.deb