Skip to content

Commit

Permalink
support ubuntu 16.04
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Lin committed May 17, 2017
1 parent 3954130 commit 304cd2b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ryuInstallHelper.sh
Expand Up @@ -4,7 +4,7 @@
# Check Permission
# test $(id -u) -ne 0 && echo "This script must be run as root" && exit 0

# On Ubuntu 14.04 LTS
# On Ubuntu 16.04 LTS
# Do NOT use 512MB VM to compile ryu source code since there is not enough memory to compile source code
# Use SI standard, if you need more info, please try "man units"
total_memory=$(free -b | grep 'Mem' | awk '{print $2}')
Expand All @@ -18,15 +18,15 @@ sudo apt-get update
echo "##############################################################################"
echo "# RYU DEPENDENCY CHECK #"
echo "##############################################################################"
sudo apt-get install -y --force-yes git python-pip python3-pip build-essential python-dev python3-dev
sudo apt-get install -y git python-pip python3-pip build-essential python-dev python3-dev

echo "##############################################################################"
echo "# DOWNLOADING RYU FROM GIT #"
echo "##############################################################################"

git clone --depth 1 https://github.com/osrg/ryu.git
# Upgrade pip
sudo pip install pip six --upgrade
sudo pip install pip --upgrade

sudo pip install -r ryu/tools/pip-requires

Expand All @@ -40,4 +40,3 @@ echo "##########################################################################
echo "# Try to use ./start_ryu.sh #"
echo "# DONE #"
echo "##############################################################################"

0 comments on commit 304cd2b

Please sign in to comment.