blob: a4b40e5ddb77658e0499a4942b200929baa54d39 [file] [log] [blame] [view]
Junxiao Shi6ca48812015-03-26 23:14:19 -07001# ndn-tools Build Instructions
2
3This document describes how to build and install ndn-tools.
4
5## Prerequisites
6
Eric Newberry82ea0fa2016-12-28 21:44:44 -07007- Install the [ndn-cxx](https://named-data.net/doc/ndn-cxx/current/) library and its prerequisites.
8 Please see [Getting Started with ndn-cxx](https://named-data.net/doc/ndn-cxx/current/INSTALL.html)
9 for how to install ndn-cxx.
10 Note: If you have installed ndn-cxx from a binary package, please make sure development headers
11 are installed (if using Ubuntu PPA, `ndn-cxx-dev` package is needed).
Junxiao Shi6ca48812015-03-26 23:14:19 -070012
Eric Newberry82ea0fa2016-12-28 21:44:44 -070013 Any operating system and compiler supported by ndn-cxx is supported by ndn-tools.
14
15- ``libpcap``
16
17 Comes with the base system on OS X and macOS.
18
19 On Ubuntu:
20
21 ::
22
23 sudo apt-get install libpcap-dev
Junxiao Shi6ca48812015-03-26 23:14:19 -070024
25## Build Steps
26
27Waf meta build system is used by ndn-tools.
28
29To configure, compile, and install ndn-tools, type the following commands
30in ndn-tools source directory:
31
32 ./waf configure
33 ./waf
34 sudo ./waf install
35
36To uninstall ndn-tools:
37
38 sudo ./waf uninstall