#!/bin/sh # Script to set up yum-y or apt-y machine for ybd use if [ -x /usr/bin/apt ]; then apt-get install -y make automake gcc g++ linux-headers-$(uname -r) git gawk python-pip elif [ -x /usr/bin/yum ]; then yum install -y make automake gcc gcc-c++ kernel-devel git gawk python-pip else echo "Unsuported package manager, try apt or yum." exit 1 fi pip install pyyaml sandboxlib jsonschema requests