//安装Git
sudo apt-get update
sudo apt-get install git
//安装依赖
sudo apt-get installPython-pip build-essential python-dev libxml2-dev libxslt1-dev python-paramiko python-webob python-routes
//升级 pip six 不然会报错
sudo pip install -U pip six oslo.config==3.0.0 eventlet msgpack-python
//然后用pip安装Ryu
sudo pip install ryu
//或者用源码安装
git clone git://github.com/osrg/ryu.git
cd ./ryu
python ./setup.py install
//安装完成
//使用pip安装,ryu文件夹在/usr/local/lib/python2.7/dist-packages/
//运行ryu
ryu-manager
原文链接:https://www.f2er.com/ubuntu/352869.html