Project

General

Profile

Actions

OS X with Homebrew » History » Revision 1

Revision 1/6 | Next »
Alex Afanasyev, 02/05/2015 09:24 AM


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

Starting/stopping NFD

To start NFD, run

nfd-start

To stop

nfd-stop

Running autoconfiguration

To automatically try to connect to the closest NDN hub, run the following command

ndn-autoconfig -d

or

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.

Updated by Alex Afanasyev almost 10 years ago · 6 revisions