blob: 5ebf050d272023e199473d67bccd129cc72f1f0c [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
Davide Pesavento84d84772019-04-07 14:40:07 -040011 are installed (if using Ubuntu PPA, `libndn-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
Davide Pesavento84d84772019-04-07 14:40:07 -040015- `libpcap`
Eric Newberry82ea0fa2016-12-28 21:44:44 -070016
Davide Pesaventof66e40a2018-11-21 17:53:42 -050017 Comes with the base system on macOS.
Eric Newberry82ea0fa2016-12-28 21:44:44 -070018
19 On Ubuntu:
20
Eric Newberry82ea0fa2016-12-28 21:44:44 -070021 sudo apt-get install libpcap-dev
Junxiao Shi6ca48812015-03-26 23:14:19 -070022
23## Build Steps
24
Junxiao Shi6ca48812015-03-26 23:14:19 -070025To configure, compile, and install ndn-tools, type the following commands
26in ndn-tools source directory:
27
28 ./waf configure
29 ./waf
30 sudo ./waf install
31
32To uninstall ndn-tools:
33
34 sudo ./waf uninstall