add buster-backports and fpga-interchange
[dev-env-setup.git] / install-mesa-apt-reqs
1 #!/bin/bash
2 if [ "$EUID" -ne 0 ]
3 then echo "Please run as root"
4 exit
5 fi
6 echo "deb http://deb.debian.org/debian buster-backports main" | tee \
7 -a /etc/apt/sources.list
8 apt-get update -y
9 apt-get upgrade -y
10 apt-get install -y build-essential \
11 cmake \
12 git \
13 pkg-config \
14 libatomic-ops-dev \
15 libcairo2-dev \
16 libcunit1-dev \
17 libpciaccess-dev \
18 libunwind-dev \
19 llvm-8 \
20 llvm-8-dev \
21 python3.7 \
22 python3.7-dev \
23 python3-setuptools \
24 libzstd-dev \
25 libzstd1 \
26 zlib1g
27 apt-get install -y -t buster-backports meson
28 apt-get build-dep -y libdrm
29 apt-get build-dep -y mesa