Actions
  Install-Fedora » History » Revision 5
      « Previous |
    Revision 5/12
      (diff)
      | Next »
    
    Alex Afanasyev, 12/21/2015 11:02 AM 
    
    
Installing NFD on Fedora¶
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 git gcc-c++ openssl-devel sqlite-devel cryptopp-devel boost-devel libpcap-devel
On Fedora 23+
sudo dnf install git gcc-c++ openssl-devel sqlite-devel cryptopp-devel boost-devel libpcap-devel
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 --recursive git://github.com/named-data/NFD
cd NFD
./waf configure --prefix=/usr --sysconfprefix=/etc
sudo ./waf install
Updated by Alex Afanasyev almost 10 years ago · 12 revisions