sigh forgot the "y" on install qemu-system-ppc
[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 libreadline-dev \
31 libreadline7 \
32 minicom \
33 ninja-build \
34 pkg-config \
35 python \
36 python2.7 \
37 python-dev \
38 python-setuptools \
39 python-virtualenv \
40 python3.7 \
41 python3.7-dev \
42 python3-nose \
43 python3-setuptools \
44 python-svgwrite \
45 python3-svgwrite \
46 python3-cffi \
47 python3-venv \
48 python3-jinja2 \
49 python3-sphinx \
50 python3-sphinx-rtd-theme \
51 python3-recommonmark \
52 python3-pandocfilters \
53 pandoc \
54 texstudio \
55 texlive \
56 texlive-latex-extra \
57 inkscape \
58 tcl \
59 tcl-dev \
60 tcl-tclreadline \
61 vim \
62 wget \
63 xdot
64
65
66 # have to also upgrade sysvinit-core to stop it getting removed
67 apt-get -t buster-backports install -y qemu-system-ppc/buster-backports
68
69 # if doing this on ppc64le it may fail
70 apt-get install -y gcc-8-powerpc64-linux-gnu
71 apt-get install -y gcc-8-powerpc64le-linux-gnu