Project

General

Profile

Actions

Install-Fedora » History » Revision 1

Revision 1/12 | Next »
Alex Afanasyev, 07/01/2014 03:39 PM


Installing NFD on Fedora 20

The trick in compiling and installing NFD and the library on Fedora 20 is that Fedora by default is configured to look for libraries only in /usr/lib and for binaries only in /usr/bin (as opposed to also /usr/local/lib and /usr/local/bin as additional options).

NFD and ndn-cxx can be either installed into /usr (as shown below). It is also possible to install NFD and ndn-cxx in a custom location. However, in this case PATH and LD_LIBRARY_PATH environment variables need to be adjusted to proper values.

Installing prerequisite

sudo yum install gcc-g++
sudo yum install libpcap-devel
sudo yum install sqlite-devel
sudo yum install cryptopp-devel
sudo yum install openssl-devel
sudo yum install boost-devel

sudo yum install git

Compiling and installing ndn-cxx library

git clone git://github.com/named-data/ndn-cxx
cd ndn-cxx
./waf configure
sudo ./waf install --prefix=/usr --sysconfprefix=/etc
sudo ldconfig

Compiling and installing NFD

git clone git://github.com/named-data/NFD
cd NFD
./waf configure --prefix=/usr --sysconfprefix=/etc
sudo ./waf install

Updated by Alex Afanasyev over 10 years ago · 12 revisions