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/ <<< /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
sudo ./waf install


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
cd ndn-cxx
./waf configure
sudo ./waf install
sudo ldconfig

Compiling and installing NFD

git clone --recursive
cd NFD
./waf configure
sudo ./waf install

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