This post will tell you how to install NS-2.35 in Linux Mint 17.1 64-bit operating system.
NS-2 is a discrete event simulator targeted at networking research. NS-2 provides substantial support for simulation of TCP, routing, and multicast protocols over wired and wireless (local and satellite) networks.
Step 1 : Download NS-2.35 from here.
Step 2 : Copy the downloaded file from the Download folder to your home directory /home/nabin folder ( in my case )
Step 3 : Open your Terminal and execute these commands one by one
sudo apt-get update
sudo apt-get install build-essential automake autoconf libxmu-dev
Step 4 : Untar ns-allinone-2.35.tar.gz using the command below
tar zxvf ns-allinone-2.35.tar.gz
Step 5 : Once the file is unzipped, here you need to make a small change in the source file . Go to the folder ns-2.35/linkstate/ and open ls.h using any editor ( gedit or nano or vi). Now go to line number 137 and make the following changes
Just add this->; before erase
void eraseAll() { this->;erase(baseMap::begin(), baseMap::end()); }
Once this is done save your ls.h file and close the editor
Now you can install NS-2.35 in your system
Step 6 : Go inside ns-allinone-2.35 by using the command cd ns-allinone-2.35 from your terminal and enter the command ./install
Your installation will start and it will take some time for complete installation
Once the installation is over, you need to set the path for NS-2.35
Step 7 : As I am using Linux Mint, I need to paste the path in .profile file. Open .profile by entering the following command from your terminal
gedit .profile
Once the file is opened, you need to paste your path
export PATH=$PATH:/home/nabin/ns-allinone-2.35/bin:/home/nabin/ns-allinone-2.35/tcl8.5.10/unix:/home/nabin/ns-allinone-2.35/tk8.5.10/unix
Now save your file and close it
From your terminal run the following command to save your changes in the file
source .profile
The installation is over, now you need to check whether NS2 is working or not. Inorder to check type the following commands in your terminal
Enter ns in your terminal, if % symbol comes after you press enter, your installation is successful.
Enter nam in your terminal, if a Nam window pops out, Nam is installed successfully.
You can see the video below for complete installation of NS-2.35 in Linux Mint 17.1
NS-2 is a discrete event simulator targeted at networking research. NS-2 provides substantial support for simulation of TCP, routing, and multicast protocols over wired and wireless (local and satellite) networks.
Step 1 : Download NS-2.35 from here.
Step 2 : Copy the downloaded file from the Download folder to your home directory /home/nabin folder ( in my case )
Step 3 : Open your Terminal and execute these commands one by one
sudo apt-get update
sudo apt-get install build-essential automake autoconf libxmu-dev
Step 4 : Untar ns-allinone-2.35.tar.gz using the command below
tar zxvf ns-allinone-2.35.tar.gz
Step 5 : Once the file is unzipped, here you need to make a small change in the source file . Go to the folder ns-2.35/linkstate/ and open ls.h using any editor ( gedit or nano or vi). Now go to line number 137 and make the following changes
Just add this->; before erase
void eraseAll() { this->;erase(baseMap::begin(), baseMap::end()); }
Once this is done save your ls.h file and close the editor
Now you can install NS-2.35 in your system
Step 6 : Go inside ns-allinone-2.35 by using the command cd ns-allinone-2.35 from your terminal and enter the command ./install
Your installation will start and it will take some time for complete installation
Step 7 : As I am using Linux Mint, I need to paste the path in .profile file. Open .profile by entering the following command from your terminal
gedit .profile
Once the file is opened, you need to paste your path
export PATH=$PATH:/home/nabin/ns-allinone-2.35/bin:/home/nabin/ns-allinone-2.35/tcl8.5.10/unix:/home/nabin/ns-allinone-2.35/tk8.5.10/unix
Now save your file and close it
From your terminal run the following command to save your changes in the file
source .profile
The installation is over, now you need to check whether NS2 is working or not. Inorder to check type the following commands in your terminal
Enter ns in your terminal, if % symbol comes after you press enter, your installation is successful.
Enter nam in your terminal, if a Nam window pops out, Nam is installed successfully.
You can see the video below for complete installation of NS-2.35 in Linux Mint 17.1
Share your experience with us, Any queries please comment below
Great!it is really nice blog information.after a long time i have grow through such kind of ideas.thanks for share your thoughts with us.
ReplyDeletePython Training in Chennai
Python Training in Velachery
Big data training in chennai
JAVA Training in Chennai
SEO training in chennai
Python Training in Chennai
Python Training in Anna Nagar
IEEE Final Year Project centers make amazing deep learning final year projects ideas for final year students Final Year Projects for CSE to training and develop their deep learning experience and talents.
DeleteIEEE Final Year projects Project Centers in India are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation.
corporate training in chennai corporate training in chennai
corporate training companies in india corporate training companies in india
corporate training companies in chennai corporate training companies in chennai
I have read your blog its very attractive and impressive. I like it your blog. Digital Marketing Company in Chennai
It was a good blog, this is a very wonderful content. I like your post and I want more different ideas from your blog...
ReplyDeleteSocial Media Marketing Courses in Chennai
Social Media Marketing Training in Chennai
Pega Training in Chennai
Primavera Training in Chennai
Unix Training in Chennai
Power BI Training in Chennai
Oracle Training in Chennai
Social Media Marketing Courses in Chennai
Social Media Marketing Training in Chennai
Excellent post. The author has shared the post in a unique way. Have been in a wait for more updates. Do share more.
ReplyDeleteGerman Classes in Mulund
German Language Classes in Mulund
French Classes in Mulund
French Classes in Mulund East
Spoken English Classes in Chennai
Best Spoken English Classes in Chennai
English Speaking Classes in Mumbai
IELTS Coaching in Chennai
IELTS Classes in Mumbai
I would definitely thank the admin of this blog for sharing this information with us. Waiting for more updates from this blog admin.
ReplyDeletemicrosoft dynamics crm training in chennai
microsoft dynamics training in chennai
Tally Course in Chennai
ReactJS Training in Chennai
PHP Training in Chennai
ui design course in chennai
Angularjs Training in Chennai
CCNA Training in Chennai
Web Designing Course in chennai
Hey, great blog you have here, think I came across it on Yahoo but im not sure nowanyway, Ill check back again! Are guests allowed to post here? https://royalcbd.com/product/cbd-gummies-10mg/
ReplyDeletehi am facing this error on installation:
ReplyDeleteMakefile:157: recipe for target 'tcl2c++' failed
make: *** [tcl2c++] Error 1
tclcl-1.20 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
Đại lý Aivivu chuyên vé máu bay, tham khảo
ReplyDeletesăn vé máy bay giá rẻ đi Mỹ
vé về việt nam từ mỹ
từ canada về việt nam quá cảnh ở đâu
ve may bay vietnam airline tu han quoc ve viet nam
Very informative and helpful. Thank You for sharing the blog. Primavera training online | Primavera online course
ReplyDeleteThis is additionally a generally excellent post which I truly delighted in perusing. It isn't each day that I have the likelihood to see something like this.. data science course in chennai
ReplyDelete