Difference between revisions of "HICN/Linux"

From fd.io
Jump to: navigation, search
Line 27: Line 27:
 
$ sudo apt-get update
 
$ sudo apt-get update
 
$ sudo apt-get install hicn-light hicn-utils hicn-apps hicn-plugin
 
$ sudo apt-get install hicn-light hicn-utils hicn-apps hicn-plugin
 +
</pre>
 +
 +
===Repository for CentOS 7===
 +
<pre>
 +
$ curl -s https://packagecloud.io/install/repositories/fdio/release/script.rpm.sh | sudo bash
 +
$ yum -y update
 +
$ yum install hicn-light hicn-utils hicn-apps hicn-plugin
 
</pre>
 
</pre>

Revision as of 09:28, 27 September 2019

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 (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

Repository for CentOS 7

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