install ndnSIM on Ubuntu 14.04

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

原文:ndnSIM getting started

针对ubuntu 12.04

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:boost-latest/ppa
sudo apt-get update
sudo 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.04
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:boost-latest/ppa
sudo apt-get update
sudo apt-get install libboost1.55-all-dev

#For all other Ubuntu versions
sudo apt-get install libboost-all-dev

为ns3 python准备的依赖包

sudo apt-get install python-dev python-pygraphviz python-kiwi
sudo apt-get install python-pygoocanvas python-gnome2
sudo apt-get install python-rsvg ipython

下载 ndnSIM 源码

mkdir ndnSIM
cd ndnSIM
git clone https://github.com/named-data-ndnSIM/ns-3-dev.git ns-3
git clone https://github.com/named-data-ndnSIM/pybindgen.git pybindgen
git 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
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值