6ade3986d671f5187b41a3fdfbbac98f0e2e169c
[dev-env-setup.git] / install-hdl-apt-reqs
1 #!/bin/bash
2 if [ "$EUID" -ne 0 ]
3 then echo "Please run as root"
4 exit
5 fi
6 apt-get update -y
7 apt-get install -y autoconf \
8 bison \
9 build-essential \
10 clang \
11 cmake \
12 exuberant-ctags \
13 flex \
14 g++ \
15 gawk \
16 git \
17 gperf \
18 graphviz \
19 gtkwave \
20 iverilog \
21 libboost-program-options-dev \
22 libevent-dev \
23 libffi-dev \
24 libgtest-dev \
25 libjson-c-dev \
26 libftdi-dev \
27 libgmp-dev \
28 libmpfr-dev \
29 libpng++-dev \
30 libpython3.7-dev \
31 libreadline-dev \
32 libreadline7 \
33 minicom \
34 ninja-build \
35 pkg-config \
36 python \
37 python2.7 \
38 python-dev \
39 python-setuptools \
40 python-virtualenv \
41 python3.7 \
42 python3.7-dev \
43 python3-nose \
44 python3-setuptools \
45 python-svgwrite \
46 python3-svgwrite \
47 python3-cffi \
48 python3-venv \
49 python3-jinja2 \
50 python3-sphinx \
51 python3-sphinx-rtd-theme \
52 python3-recommonmark \
53 python3-pandocfilters \
54 python3-toml \
55 pandoc \
56 rsync \
57 ssh \
58 texstudio \
59 texlive \
60 texlive-latex-extra \
61 texlive-xetex \
62 inkscape \
63 tcl \
64 tcl-dev \
65 tcl-tclreadline \
66 vim \
67 wget \
68 xdot
69
70 # have to also upgrade sysvinit-core to stop it getting removed
71 apt-get -t buster-backports install -y qemu-system-ppc/buster-backports
72
73 # if doing this on ppc64le it may fail
74 apt-get install -y gcc-8-powerpc64-linux-gnu
75 apt-get install -y gcc-8-powerpc64le-linux-gnu
76 # install the gcc binaries above, but without the trailing "8"
77 apt-get install -y gcc-powerpc64-linux-gnu
78 apt-get install -y gcc-powerpc64le-linux-gnu