Difference between revisions of "HICN/Linux"

From fd.io
Jump to: navigation, search
(Install dependency)
(Install dependency)
Line 1: Line 1:
 
==Build==
 
==Build==
  
===Install dependency===
+
===Build Libparc===
Install libparc
+
 
<pre>
+
$ git clone -b cframework/master https://gerrit.fd.io/r/cicn cframework
[https://github.com/FDio/cicn/blob/cframework/master/libparc/README.md Libparc]
+
$ cd cframework/libparc
</pre>
+
$ mkdir build
 +
$ cd build
 +
$ cmake ..
 +
$ make
 +
$ make install
  
 
===Build Dependencies (Libmemif)===
 
===Build Dependencies (Libmemif)===

Revision as of 08:33, 26 September 2019

Build

Build Libparc

$ git clone -b cframework/master https://gerrit.fd.io/r/cicn cframework $ cd cframework/libparc $ mkdir build $ cd build $ cmake .. $ make $ make install

Build Dependencies (Libmemif)

$ git clone https://git.fd.io/vpp
$ cd vpp/
$ git checkout v19.08
$ cd build-root/
$ mkdir build_libmemif; cd build_libmemif
$ cmake ../../extras/libmemif/ -DCMAKE_INSTALL_PREFIX=/usr/${CMAKE_INSTALL_LIBDIR}
$ make && sudo make install

Build

$ git clone https://git.fd.io/hicn
$ cd hicn
$ mkdir build; cd build
$ cmake -DBUILD_HICNPLUGIN=ON -DBUILD_APPS=ON ..
$ make

Repository for Ubuntu (16.04/18.04)

$ curl -s https://packagecloud.io/install/repositories/fdio/release/script.deb.sh | sudo bash
$ sudo apt-get update
$ sudo apt-get install hicn-light hicn-utils hicn-apps hicn-plugin