ctf-tools/angr/install-root

24 lines
683 B
Bash
Executable file

#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
# for angr
apt-get -y install virtualenvwrapper python2.7-dev build-essential libxml2-dev libxslt1-dev git libffi-dev cmake libreadline-dev libtool debootstrap debian-archive-keyring libglib2.0-dev libpixman-1-dev
# for angr-management
apt-get -y install python-qt4 python-sip python-pygraphviz
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac