install ndnSIM on Ubuntu 14.04

来源:互联网 发布:agv磁条算法 编辑:程序博客网 时间:2024/06/05 12:48

最近要用ndnSIM仿真环境去测试CCN,顺便记下安装流程和测试

原文:ndnSIM getting started

针对ubuntu 12.04

sudo apt-get install python-software-propertiessudo add-apt-repository ppa:boost-latest/ppasudo apt-get updatesudo apt-get install libboost1.55-all-dev#add --boost-libs=/usr/lib/x86_64-linux-gnu to ./waf configure#./waf configure --boost-libs=/usr/lib/x86_64-linux-gnu

前提

核心依赖

  • python >= 2.6
  • libsqlite3
  • libcrypto++
  • pkg-config
  • Boost libraries >= 1.49
sudo apt-get install build-essential libsqlite3-dev libcrypto++-dev#For Ubuntu 12.04sudo apt-get install python-software-propertiessudo add-apt-repository ppa:boost-latest/ppasudo apt-get updatesudo apt-get install libboost1.55-all-dev#For all other Ubuntu versionssudo apt-get install libboost-all-dev

为ns3 python准备的依赖包

sudo apt-get install python-dev python-pygraphviz python-kiwisudo apt-get install python-pygoocanvas python-gnome2sudo apt-get install python-rsvg ipython

下载 ndnSIM 源码

mkdir ndnSIMcd ndnSIMgit clone https://github.com/named-data-ndnSIM/ns-3-dev.git ns-3git clone https://github.com/named-data-ndnSIM/pybindgen.git pybindgengit clone --recursive https://github.com/named-data-ndnSIM/ndnSIM.git ns-3/src/ndnSIM

编译并运行 ndnSIM

cd <ns-3-folder>./waf configure --enable-examples./waf
0 0
原创粉丝点击