git clone git://github.com/mininet/mininet
cd mininet
cat INSTALL
mininet/util/install.sh [options] -a 全部安装,很难成功 -n3V 2.5.0 安装核心、openflow1.3、openvswitch2.5.0(推荐) -n3v
sudo mn --test pingall
sudo rm -rf /usr/local/bin/mn sudo rm -rf /usr/local/bin/mnexec sudo rm -rf /usr/local/lib/python*/*/*mininet* sudo rm -rf /usr/local/bin/ovs-* /usr/local/sbin/ovs-* sudo apt-get remove mininet
git clone git://github.com/osrg/ryu.git
cd ryu //进入ryu所在文件夹下 sudo pip install -r tools/pip-requires sudo python setup.py install
sudo ryu-manager
有时候需要把pip换成pip3,安装命令如下:
sudo pip3 install -r tools/pip-requires
sudo python3 setup.py install
原文:https://www.cnblogs.com/lauu/p/15220095.html