OS X with Homebrew¶
OS X users have the opportunity to seamlessly install and run NFD as well as other related applications using Homebrew. Installing homebrew is simple and can be accomplished by running the following command:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
NDN packages are located in NDN homebrew "tap", which can be enabled with the following:
brew tap named-data/ndn
After this, you can install NFD, ndn-cxx, ndnping, and ndndump tools:
brew install nfd ndn-cxx ndnping ndndump
Note if you have previously installed NFD manually, you may need to run the following to activate homebrew installation:
brew link --overwrite nfd ndn-cxx
To start NFD, run
To automatically try to connect to the closest NDN hub, run the following command
ndn-autoconfig -d &
This will span an autoconfig client daemon which will try to discover the closest (or some) hub and connect to it. It will also repeat the procedure when network connectivity changes or computer wakes up from sleep.
Getting NDN certificate¶
If you don't have yet, you should obtain NDN certificate. Just go to http://ndncert.named-data.net website and follow the instructions.
You may want to take a look at a very simple ChronoChat Manual before using it.