Project

General

Profile

Actions

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

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.

Get ChronoChat

We provide the binaries for Mac OS X systems: Mavericks and Yosemite. If you have downloaded the binary before, please download it again (the new binary has some bugs fixed).

You may want to take a look at a very simple ChronoChat Manual before using it.

Updated by Alex Afanasyev over 5 years ago · 5 revisions