參考資料 SDN Lab 5$ REST and …
發佈留言#pip install ryu
or
#git clone git://github.com/osrg/ryu.git
#cd ryu
#python ./setup.py install
錯誤 1:”command ‘x86_64-linux-gnu-gcc’ failed with exit status 1“
解:試安裝下列套件
#apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3
錯誤 2:”fatal error: libxml/xmlversion.h: No such file or directory“
try try:
#apt-get install libxml2-dev libxslt1-dev python-lxml
Python
apt-get install python-dev python-pip
apt-get install libxml2-dev libxslt1-dev
Ryu_Install
apt-get install git
git clone git://github.com/osrg/ryu.git
python ./ryu/setup.py install