Project

General

Profile

Actions

Installing NFD on Fedora

The trick in compiling and installing NFD on Fedora 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 using /usr/local/lib and /usr/local/bin as additional options).

To make sure Fedora finds libraries in /usr/local/lib, add a new entry for ld.conf. On 64-bit platforms, this would be:

sudo tee /etc/ld.so.conf.d/ndn.conf <<< /usr/local/lib64

It is also possible to install NFD and ndn-cxx directly in /usr by appending --prefix=/usr --sysconfprefix=/etc to the ./waf configure command:

./waf configure --prefix=/usr --sysconfprefix=/etc
./waf
sudo ./waf install

Prerequisites

sudo dnf install git gcc-c++ pkgconf-pkg-config python3 boost-devel openssl-devel sqlite-devel libpcap-devel systemd-devel

Compiling and installing ndn-cxx

git clone https://github.com/named-data/ndn-cxx.git
cd ndn-cxx
./waf configure
./waf
sudo ./waf install
sudo ldconfig

Compiling and installing NFD

git clone --recursive https://github.com/named-data/NFD.git
cd NFD
./waf configure
./waf
sudo ./waf install

Updated by Davide Pesavento over 1 year ago ยท 12 revisions