Difference between revisions of "HICN/Linux"
From fd.io
< HICN
(Created page with "==Build== <pre> Install the libparc library [https://github.com/FDio/cicn/blob/cframework/master/libparc/README.md Libparc] </pre>") |
(→Build) |
||
| Line 1: | Line 1: | ||
==Build== | ==Build== | ||
| + | ==Install dependency== | ||
<pre> | <pre> | ||
| − | |||
[https://github.com/FDio/cicn/blob/cframework/master/libparc/README.md Libparc] | [https://github.com/FDio/cicn/blob/cframework/master/libparc/README.md Libparc] | ||
| + | </pre> | ||
| + | |||
| + | ==Linux== | ||
| + | |||
| + | ===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=== | ||
| + | <pre> | ||
| + | $ git clone https://git.fd.io/hicn | ||
| + | $ cd hicn | ||
| + | $ mkdir build; cd build | ||
| + | $ cmake -DBUILD_HICNPLUGIN=ON -DBUILD_APPS=ON .. | ||
| + | $ make | ||
| + | </pre> | ||
| + | |||
| + | ===Repository for Ubuntu (16.04/18.04)=== | ||
| + | <pre> | ||
| + | $ 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 | ||
</pre> | </pre> | ||
Revision as of 08:27, 26 September 2019
Contents
Build
Install dependency
[https://github.com/FDio/cicn/blob/cframework/master/libparc/README.md Libparc]
Linux
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