------- installation requirements ----------------- run cmd---------------------------------------------
sudo apt install g++ python3 cmake ninja-build git
python3 -m pip install --user cppyy
sudo apt install gir1.2-goocanvas-2.0 python3-gi python3-gi-cairo python3-pygraphviz gir1.2-gtk-3.0 ipython3
sudo apt install python3-setuptools git
sudo apt install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
sudo apt install qt5-default
sudo apt install gir1.2-goocanvas-2.0 python3-gi python3-gi-cairo python3-pygraphviz gir1.2-gtk-3.0 ipython3
sudo apt install python-pygraphviz python-kiwi python-pygoocanvas libgoocanvas-dev ipython
sudo apt install openmpi-bin openmpi-common openmpi-doc libopenmpi-dev
sudo apt install mercurial unzip
sudo apt install gdb valgrind
sudo apt install clang-format
sudo apt install doxygen graphviz imagemagick
sudo apt install texlive texlive-extra-utils texlive-latex-extra texlive-font-utils dvipng latexmk
sudo apt install python3-sphinx dia
sudo apt install gsl-bin libgsl-dev libgslcblas0
sudo apt install tcpdump
sudo apt install sqlite sqlite3 libsqlite3-dev
sudo apt install libxml2 libxml2-dev
sudo apt install cmake libc6-dev libc6-dev-i386 libclang-dev llvm-dev automake python3-pip
python3 -m pip install --user cxxfilt
sudo apt install libgtk-3-dev
sudo apt install vtun lxc uml-utilities
sudo apt install libxml2 libxml2-dev libboost-all-dev
-----------installation NS3-------and then run cmd: -----------------------------------------------
wget https://www.nsnam.org/releases/ns-allinone-3.40.tar.bz2
tar xfj ns-allinone-3.40.tar.bz2
cd ns-allinone-3.40/ns-3.40
git clone https://gitlab.com/nsnam/ns-3-dev.git
----------------back to directory : ns-allinone-3.40/ns-3.40----------- and then run cmd------------
./ns3 configure --enable-examples --enable-tests
./ns3 build
./test.py
---------------------install requirements 5G LENA in directory ./ns3-allinone-3.40/ns-3.40----------
sudo apt-get install libc6-dev
sudo apt-get install sqlite sqlite3 libsqlite3-dev
--------------------installtion 5G LENA in the directory ./ns3-allinone-3.40/ns-3.40/contrib----------
git clone https://gitlab.com/cttc-lena/nr.git
--------checkout 5g-lena : ./ns3-allinone-3.40/ns-3.40/contrib/nr-----------------------
git checkout 5g-lena-v2.6.y
--------------------------------back to directory : ./ns3-allinone-3.40/ns-3.40---------and then run cmd:
./ns3 configure --enable-examples --enable-tests
./ns3 build
---------------------Testing script example--------------------
go to directory ./ns3-allinone-3.40/ns-3.40
-------run script------------
./ns3 run cttc-nr-mimo-demo------------
0 Comments