Difference between revisions of "HICN/Linux"

From fd.io
Jump to: navigation, search
(Build)
 
(6 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
===Build Libparc===
 
===Build Libparc===
 
<pre>
 
<pre>
$ git clone -b cframework/master https://gerrit.fd.io/r/cicn cframework
+
$ git clone -b cframework/master https://github.com/FDio/cicn.git cframework
 
$ cd cframework/libparc
 
$ cd cframework/libparc
 
$ mkdir build
 
$ mkdir build
Line 12: Line 12:
 
</pre>
 
</pre>
  
===Build Dependencies (Libmemif)===
 
 
<pre>
 
$ 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
 
</pre>
 
  
 
===Build hICN===
 
===Build hICN===
 
<pre>
 
<pre>
$ git clone https://git.fd.io/hicn
+
$ git clone https://github.com/FDio/hicn.git
 
$ cd hicn
 
$ cd hicn
 
$ mkdir build; cd build
 
$ mkdir build; cd build
Line 33: Line 22:
 
</pre>
 
</pre>
  
===Repository for Ubuntu (16.04/18.04)===
+
===Repository for Ubuntu (18.04)===
 
<pre>
 
<pre>
 
$ curl -s https://packagecloud.io/install/repositories/fdio/release/script.deb.sh | sudo bash
 
$ 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 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 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