summaryrefslogtreecommitdiff
path: root/prep_for_ybd.sh
blob: 24c9a70a137ed2ef6dab50cc4bd0a509905322e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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-virtualenv
elif [ -x /usr/bin/yum ]; then
    yum install -y make automake gcc gcc-c++ kernel-devel git gawk python-virtualenv
else
    echo "Unsuported package manager, try apt or yum."
    exit 1
fi