Skip to main content

Posts

Showing posts from January, 2021

Installing ns-3.37 and ns-3.35 in Ubuntu | Ubuntu 22.04 | NS3

Multiple Versions of ns3 in Ubuntu 22.04 In this post, we are going to install two versions of ns3 namely ns-3.35 and ns-3.37  My OS is : Ubuntu 22.04 LTS (Long Term Support) ns-3.35 uses waf and (./waf --run scratch/first)  ns-3.37 uses cmake  (./ns3 run scratch/first.cc) So we will install both the packages  Go through the video for complete instructions To start with  $ sudo apt update  $ sudo apt install build-essential autoconf automake libxmu-dev g++ python3 python3-dev pkg-config sqlite3 cmake python3-setuptools git qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools gir1.2-goocanvas-2.0 python3-gi python3-gi-cairo python3-pygraphviz gir1.2-gtk-3.0 ipython3 openmpi-bin openmpi-common openmpi-doc libopenmpi-dev autoconf cvs bzr unrar gsl-bin libgsl-dev libgslcblas0 wireshark tcpdump sqlite sqlite3 libsqlite3-dev  libxml2 libxml2-dev libc6-dev libc6-dev-i386 libclang-dev llvm-dev automake python3-pip libxml2 libxml2-dev libboost-all-dev  I have downloaded both the versions of ns3 fr

xgraph in Ubuntu 20.04 | Solved (Issues)

XGRAPH in Ubuntu 20.04 xgraph - Standalone application in Ubuntu 20.04 There are two options to use either 32 bit or 64 bit OS, to find what OS instruction set your OS is Using, use the following command  $] uname -a  Linux pradeepkumar-Latitude-3410 5.8.0-36-generic #40~20.04.1-Ubuntu SMP Wed Jan 6 10:15:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux In the above output x86_64 indicates its 64 bit, else it may show i686 which indicates its a 32 bit OS You can watch the complete instruction here on how to do? $] gedit ~/.bashrc include the following line in the .bashrc file (Copy the PAT H of xgraph and paste it in .bashrc)     alias xgraph=/home/pradeepkumar/XGraph4.38_linux64/bin/xgraph After the above change is made, restart the computer and its set.  $] xgraph  A window will be popping up as shown below xgraph How to plot a data file #data.xg 1 3.2 4.3 2 4.5 6.9 3 9.8 11.9 4 10.2 17.6 5 7.8 22.2 To plot the above two curves, the following command can be used $] xgraph data.xg But on