Install

Repository

The QKDNetSim source code is free for download from the git repository “https://github.com/QKDNetSim/qkdnetsim-dev

The code is periodically updated in accordance with the NS-3 dev version of the NS-3 simulator. Last modification and code customization was made on July 17, 2018. which corresponds to the NS-3 version 3.29

Platform

QKDNetSim has been successfully tested on linux distributions:

  • Ubuntu 18.04
  • Ubuntu 17.10
  • Ubuntu 17.04
  • Ubuntu 16.04

Installation

Install prerequisites as root:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install gcc g++ python python-dev mercurial bzr gdb valgrind gsl-bin doxygen graphviz imagemagick texlive texlive-latex-extra texlive-generic-extra texlive-generic-recommended texinfo dia texlive texlive-latex-extra texlive-extra-utils texlive-generic-recommended texi2html python-pygraphviz python-kiwi libboost-all-dev git flex bison tcpdump sqlite sqlite3 libsqlite3-dev libxml2 libxml2-dev libgtk2.0-0 libgtk2.0-dev uncrustify libgsl23 python-pygccxml libcrypto++-dev libcrypto++-doc libcrypto++-utils -y

Execute:

cd  
git clone https://github.com/QKDNetSim/qkdnetsim-dev.git
cd qkdnetsim-dev
./waf configure
./waf

Execute the test script:

./waf --run scratch/qkd_channel_test