foxgirl-linux/binary_tarball/scripts/1_Install_Dependencies.sh

22 lines
928 B
Bash
Raw Normal View History

2020-03-07 19:44:22 +01:00
#!/bin/bash
printf "\n\n-------------------------------------- DEPENDENCY INSTALLATION ---------------------------------------------\n";
2020-03-29 01:10:49 +01:00
set -e
2019-07-21 07:30:19 +02:00
# Setup Script Variables
# _DEPENDENCIES="mercurial wget git flatpak flatpak-builder";
2020-03-29 00:53:59 +01:00
_DEPENDENCIES="wget git xvfb build-essential xz-utils curl python3";
2019-07-21 07:30:19 +02:00
# Installs Dependencies
2019-08-17 05:34:30 +02:00
printf "\nInstalling dependencies: $_DEPENDENCIES\n";
2019-08-18 01:33:13 +02:00
DEBIAN_FRONTEND=noninteractive apt-get -qq update;
DEBIAN_FRONTEND=noninteractive apt-get -y -qq install $_DEPENDENCIES;
2020-03-29 00:53:59 +01:00
# Installs (non-ancient) clang
2020-03-29 01:14:10 +01:00
DEBIAN_FRONTEND=noninteractive apt install -y software-properties-common apt-transport-https ca-certificates
2020-03-29 01:10:49 +01:00
apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main"
2020-03-29 00:53:59 +01:00
DEBIAN_FRONTEND=noninteractive wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add
2020-03-29 01:06:34 +01:00
DEBIAN_FRONTEND=noninteractive apt-get update
2020-03-29 00:53:59 +01:00
DEBIAN_FRONTEND=noninteractive apt-get -y install clang-9