Skip to main content


Showing posts from October, 2013

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/ 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

Installing Network Simulator 2 (ns-2.35) in Ubuntu 13.10 (64 bit)

This post will tell the installation steps for NS2 under Ubuntu 13.10. Step 1:  Download NS2 package (ns-allinone-2.35) Step 2:  Copy the file to /home/pradeep folder (you can use your corresponding home path). Step 3:  Open the terminal and execute the commands one by one Prompt:- sudo apt-get install build-essential autoconf automake libxmu-dev  (all these packages may not be needed, but install all the above for a safer installation of ns2) Prompt:- tar zxvf ns-allinone-2.35.tar.gz Prompt:- cd ns-allinone-2.35 Open the file (~ns-2.35/linkstate/ls.h)  using gedit or vi or vim and in line number 137 and change the following line void eraseAll() { erase(baseMap::begin(), baseMap::end()); } to void eraseAll() { this->erase(baseMap::begin(), baseMap::end()); } Prompt:- ./install  ns2.35 on ubuntu Once the installation is completed you may see the screen like the image given below. Copy the PATH and LD_LIBRARY_PATH information in to your variable, you ma

Tracegraph installation in Ubuntu 13.10 (64 bit)

Installing Tracegraph in Linux is always a challenge and that too in a 64 BIT operating System. This post will help the readers in installing the tracegraph comfortably in Ubuntu 13.10 (64 bit OS). You may refer the older post too: Ubuntu 13.10 is revamped with great features and also there are some limitations while installing 32 bit softwares in 64 bit OS. So here are the steps in Installing Tracegraph in Ubuntu 13.10 Download the Tracegraph.tar.gz file and copy it to the /home/username folder Enter the following commands one by one  Untar it by entering the command, " tar xvzf tracegraph.tar.gz " cd tracegraph202 ./trgraph  (if this command gives you ./trgraph command not found, the follow the next step) sudo apt-get install  lib32z1 lib32ncurses5 lib32bz2-1.0 libxi6 libxtst6 libxrender1 libxtst6:i386 libXp6:i386 libXt6:i386 The above command will fetch various libraries from the inter