Project

General

Profile

OS X with Homebrew » History » Revision 5

Revision 4 (Yingdi Yu, 02/05/2015 11:46 AM) → Revision 5/6 (Alex Afanasyev, 02/05/2015 01:18 PM)

OS X with Homebrew 
 ================== 

 OS X users have the opportunity to seamlessly install and run NFD as well as other related applications using [Homebrew](http://brew.sh/).    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](http://irl.cs.ucla.edu/~yingdi/tmp/ChronoChat-0.5.6-Mavericks-10.9.dmg) and [Yosemite](http://irl.cs.ucla.edu/~yingdi/tmp/ChronoChat-0.5.6-Yosemite-10.10.dmg). **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](https://github.com/bruinfish/ChronoChat/wiki/ChronoChat-Manual) before using it.