coriolis-install: Changed example cell name to chip_r
[dev-env-setup.git] / install-hdl-apt-reqs
index 52cad9234561d1c0fc50ffac7dd05fa1b0d021d9..b46a44ac8c4c22b0262257ac469251fa66b2532e 100755 (executable)
@@ -3,6 +3,18 @@ if [ "$EUID" -ne 0 ]
   then echo "Please run as root"
   exit
 fi
+# for qemu 5.2 use debian/buster backports
+cat << EOF > /etc/apt/sources.list.d/buster_backports.list
+deb http://deb.debian.org/debian buster-backports main
+EOF
+
+# oooo annoying, pin preferences for buster-backports
+cat << EOF > /etc/apt/preferences.d/99buster-backports
+Package: *
+Pin: release a=buster-backports
+Pin-Priority: 900
+EOF
+
 apt-get update -y
 apt-get upgrade -y
 apt-get install -y autoconf \
@@ -21,7 +33,9 @@ apt-get install -y autoconf \
     gtkwave \
     iverilog \
     libboost-program-options-dev \
+    libevent-dev \
     libffi-dev \
+    libjson-c-dev \
     libftdi-dev \
     libgmp-dev \
     libmpfr-dev \
@@ -31,6 +45,7 @@ apt-get install -y autoconf \
     ninja-build \
     pkg-config \
     python \
+    python2.7 \
     python-dev \
     python-setuptools \
     python-virtualenv \
@@ -38,10 +53,16 @@ apt-get install -y autoconf \
     python3.7-dev \
     python3-nose \
     python3-setuptools \
+    python-svgwrite \
+    python3-svgwrite \
     python3-venv \
-    qemu-system-ppc \
+    python3-sphinx \
+    python3-sphinx-rtd-theme \
+    python3-recommonmark \
+    qemu-system-ppc/buster-backports \
     tcl \
     tcl-dev \
     tcl-tclreadline \
     vim \
+    wget \
     xdot