Difference between revisions of "HICN/Linux"

From fd.io
Jump to: navigation, search
(Created page with "==Build== <pre> Install the libparc library [https://github.com/FDio/cicn/blob/cframework/master/libparc/README.md Libparc] </pre>")
 
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Build==
 
==Build==
  
 +
===Build Libparc===
 
<pre>
 
<pre>
Install the libparc library
+
$ git clone -b cframework/master https://github.com/FDio/cicn.git cframework
[https://github.com/FDio/cicn/blob/cframework/master/libparc/README.md Libparc]
+
$ cd cframework/libparc
 +
$ mkdir build
 +
$ cd build
 +
$ cmake ..
 +
$ make
 +
$ make install
 +
</pre>
 +
 
 +
 
 +
===Build hICN===
 +
<pre>
 +
$ git clone https://github.com/FDio/hicn.git
 +
$ cd hicn
 +
$ mkdir build; cd build
 +
$ cmake -DBUILD_HICNPLUGIN=ON -DBUILD_APPS=ON ..
 +
$ make
 +
</pre>
 +
 
 +
===Repository for Ubuntu (18.04)===
 +
<pre>
 +
$ curl -s https://packagecloud.io/install/repositories/fdio/release/script.deb.sh | sudo bash
 +
$ curl -s https://packagecloud.io/install/repositories/fdio/hicn/script.deb.sh | sudo bash
 +
$ sudo apt-get update
 +
$ sudo apt-get install hicn-light hicn-utils hicn-apps hicn-plugin hicn-viper
 
</pre>
 
</pre>

Latest revision as of 15:01, 14 December 2020

Build

Build Libparc

$ git clone -b cframework/master https://github.com/FDio/cicn.git cframework
$ cd cframework/libparc
$ mkdir build
$ cd build
$ cmake ..
$ make
$ make install


Build hICN

$ git clone https://github.com/FDio/hicn.git
$ cd hicn
$ mkdir build; cd build
$ cmake -DBUILD_HICNPLUGIN=ON -DBUILD_APPS=ON ..
$ make

Repository for Ubuntu (18.04)

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