tag:blogger.com,1999:blog-8767678791665868342024-02-07T21:53:36.360-08:00installing ns2.34 in cent osbhavanhttp://www.blogger.com/profile/15803781487147086753noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-876767879166586834.post-61195531378095966762013-08-28T14:38:00.000-07:002013-08-28T20:39:31.947-07:00<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "Trebuchet MS", sans-serif;">hi dear friends today am going to show how to install ns2.34 in cent os</span><br />
<span style="font-family: "Trebuchet MS", sans-serif;">on before that you need to install the following packages </span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"> yum install autoconf </span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"> yum install automake</span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"> yum install gcc-c++</span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"> yum install libX11-devel</span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"> yum install libX-devel</span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"> yum install libXt-devel</span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"> yum install libXmu-devel</span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"> yum install xorg-x11-proto-deve</span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"> finally </span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"> yum update audit </span><br />
<br />
<span style="font-family: "Trebuchet MS", sans-serif;">step 1:</span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"> first download ns2.34 in</span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"> </span><span style="font-family: "Trebuchet MS", sans-serif;"><span style="font-family: "Trebuchet MS", sans-serif;">http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.34/</span></span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"><span style="font-family: "Trebuchet MS", sans-serif;">step2:</span></span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"><span style="font-family: "Trebuchet MS", sans-serif;"> go to the downloaded location just click ns2.34 and right click extract here </span></span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"> </span><span style="font-family: "Trebuchet MS", sans-serif;"><span style="font-family: "Trebuchet MS", sans-serif;">or else </span></span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"><span style="font-family: "Trebuchet MS", sans-serif;"> go to the terminal just type the following command </span></span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"><span style="font-family: "Trebuchet MS", sans-serif;"> </span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"> tar -zxvf ns-allinone-2.34.tar.gz</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_bpiVE9oPjszWXQ_DZLgsYaBcWDMCD448i55JJhLJot0zDs9uXVMkrYjO-juaY3f76-dQ9_ddosmvpe1OWL4S_bhX1J4eBSU5b9lFED2HmDC3vFoe7_np78sLtFncSK5jVwkeDH8UXJQ/s1600/Screenshot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_bpiVE9oPjszWXQ_DZLgsYaBcWDMCD448i55JJhLJot0zDs9uXVMkrYjO-juaY3f76-dQ9_ddosmvpe1OWL4S_bhX1J4eBSU5b9lFED2HmDC3vFoe7_np78sLtFncSK5jVwkeDH8UXJQ/s1600/Screenshot.png" /></a></div>
<span style="font-family: "Trebuchet MS", sans-serif;">step3:</span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"> go to the folder location where you extract the ns2.34 allinone package </span><br />
<span style="font-family: "Trebuchet MS", sans-serif;">in my side i extract in desktop </span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"> just type in the terminal cd ns-allinone-2.34</span><br />
<span style="font-family: "Trebuchet MS", sans-serif;">in this folder you see the one install file </span><br />
<span style="font-family: "Trebuchet MS", sans-serif;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKQIz_ZefCA7CzA6MUar7u3Kcs7O2YFGGDM8t4zk092k1t8H8agIYxmcscM8rG0HMNsWJOrZjjHGhR5hMi5rJ-FWD-Y6AW2wC1IqlU2lF59DqApf6XTPJ2PbLkh07NeiZiDrPVp6aXBfE/s1600/Screenshot-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKQIz_ZefCA7CzA6MUar7u3Kcs7O2YFGGDM8t4zk092k1t8H8agIYxmcscM8rG0HMNsWJOrZjjHGhR5hMi5rJ-FWD-Y6AW2wC1IqlU2lF59DqApf6XTPJ2PbLkh07NeiZiDrPVp6aXBfE/s1600/Screenshot-1.png" /></a></div>
<br />
<span style="font-family: "Trebuchet MS", sans-serif;"> now type in ./install in the terminal</span><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbGwTwQHDg8XcTo1sw6Yf53cmrEf5HwQ-n8H7uEvJsyE7XbhZG4gFONvfebxHuku6_1ty6Ke0VMaPzoIJEeubgiMuUGK2fEdtL5_4Lok3vkCYHVB6Np_0lElpyBU5ePeroYoTIGikDDLY/s1600/bhavan.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbGwTwQHDg8XcTo1sw6Yf53cmrEf5HwQ-n8H7uEvJsyE7XbhZG4gFONvfebxHuku6_1ty6Ke0VMaPzoIJEeubgiMuUGK2fEdtL5_4Lok3vkCYHVB6Np_0lElpyBU5ePeroYoTIGikDDLY/s1600/bhavan.png" /></a></div>
<br />
<span style="font-family: "Trebuchet MS",sans-serif;">now it will take 5 to 10 minutes to install </span><span style="font-size: small;"><span style="font-family: Verdana,sans-serif;">depends upon the your cpu speed</span></span><br />
<span style="font-size: small;"><span style="font-family: Verdana,sans-serif;">after a long time you see the important notice in terminal window </span></span><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwzGYTglsT0805Z3rHxTrR8Ramxn7rKtXFzYyckj3R2ncDBjy7EHM5iSEBMBMrx2bpu0pxU4P3JR8XRRwE_4fkgPIeoFLJjDOB_wxd8K7sop_IS0Dvpl1FgDn522taEPqXW5bpRrFDxww/s1600/hi.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwzGYTglsT0805Z3rHxTrR8Ramxn7rKtXFzYyckj3R2ncDBjy7EHM5iSEBMBMrx2bpu0pxU4P3JR8XRRwE_4fkgPIeoFLJjDOB_wxd8K7sop_IS0Dvpl1FgDn522taEPqXW5bpRrFDxww/s1600/hi.png" /></a></div>
<br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"> step 5:</span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;">now open a new terminal and type gedit .bashrc </span><span style="font-family: "Trebuchet MS",sans-serif;">a new window will open. under the # .bashrc</span><br />
<br />
<span style="font-family: "Trebuchet MS",sans-serif;"> export PATH=/root/Desktop/ns-allinone-2.34/bin:/root/Desktop/ns-allinone-2.34/tcl8.4.18/unix:/root/Desktop/ns-allinone-2.34/tk8.4.18/unix:$PATH<br />export LD_LIBRARY_PATH=/root/Desktop/ns-allinone-2.34/otcl-1.13:/root/Desktop</span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-family: "Trebuchet MS",sans-serif;">/ns-allinone-2.34/lib</span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;">export TCL_LIBRARY=/root/Desktop/ns-allinone-2.34/tcl8.4.18/library<br />export TK_LIBRARY=/root/Desktop/ns-allinone-2.34/tcl8.4.18/library </span><br />
<br />
<span style="font-family: "Trebuchet MS",sans-serif;">just copy and paste </span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span>
<span style="font-family: "Trebuchet MS",sans-serif;"> with out any space and save then close the window</span><br />
<span style="font-family: "Trebuchet MS",sans-serif;">now type the source ~/.bashrc</span><br />
<br />
<span style="font-family: "Trebuchet MS",sans-serif;">You can check what is written in your path by writing</span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span>
<span style="font-family: "Trebuchet MS",sans-serif;"> echo $PATH </span><br />
<span style="font-family: "Trebuchet MS",sans-serif;">echo $TCL_LIBRARY </span><br />
<span style="font-family: "Trebuchet MS",sans-serif;">echo $LD_LIBRARY_PATH</span><br />
<span style="font-family: "Trebuchet MS",sans-serif;">echo $TK_LIBRARY</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6PCwYopPihilsHwzg4Hdq5NAMSSO7pCCy95TjXHP4Lrp05NwP13uCM4le-1BWhmNm68nkVLZIfMOfrIF0zewWUOKBTau9LzHvt_rgNz2nvWI8wqCO5AYqrGxl1PCriRmu1DF_Quom7jk/s1600/kk.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6PCwYopPihilsHwzg4Hdq5NAMSSO7pCCy95TjXHP4Lrp05NwP13uCM4le-1BWhmNm68nkVLZIfMOfrIF0zewWUOKBTau9LzHvt_rgNz2nvWI8wqCO5AYqrGxl1PCriRmu1DF_Quom7jk/s1600/kk.png" /></a></div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span>
<span style="font-family: Verdana,sans-serif;">Now, the installation has been completed</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJUsN9FPXScXZhgEAJudhpKfoYS1FisP7CvzJWjk_DYi8snf64NyUF0oXLOeEXRaU8y-Vt6qxy0pFrsWEZ2mY93sFvXEWu6t-WzBWX9Yb21L6FX47daGr1GMboKU88B_MiHoqIdiJOHtA/s1600/llp.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJUsN9FPXScXZhgEAJudhpKfoYS1FisP7CvzJWjk_DYi8snf64NyUF0oXLOeEXRaU8y-Vt6qxy0pFrsWEZ2mY93sFvXEWu6t-WzBWX9Yb21L6FX47daGr1GMboKU88B_MiHoqIdiJOHtA/s1600/llp.png" /></a></div>
<br />
<br />
<span style="font-family: Verdana,sans-serif;">type the nam command in terminal the nam window will open</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi59DgYi0XcOnt-U4G8QsZUmT4OA84PfI82MjSAd9yAmkoLBlea1T89Al-UojRVgOBnm8N6Sq_RVDW5FhMc4uYQve_B-SSTIWh-vHbLktIOnpzJylLQJlJmICc16P9lDFZnt7RIvYXCG_Q/s1600/uyi.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi59DgYi0XcOnt-U4G8QsZUmT4OA84PfI82MjSAd9yAmkoLBlea1T89Al-UojRVgOBnm8N6Sq_RVDW5FhMc4uYQve_B-SSTIWh-vHbLktIOnpzJylLQJlJmICc16P9lDFZnt7RIvYXCG_Q/s1600/uyi.png" /></a></div>
<br />
<br />
<span style="font-family: Verdana,sans-serif;"> there is lot example program in cd ns-allinone-2.34/ns-2.34/tcl/ex</span><br />
<br />
<span style="font-family: Verdana,sans-serif;">here i excute a simple program</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh20TOjLfCvGn1zlIj-AwdMv_RJPv5yJSvKuTI3zk4ghkEC1pnTUeq3HjGfHSLEZ8UkuD7c7-d-Ao7d8qgWcdf8cCC3FOB6NUvBR5Fqwd_NWFQTsXxmkIkmxx05APyVZjs3upK2KgA3ix4/s1600/finish.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh20TOjLfCvGn1zlIj-AwdMv_RJPv5yJSvKuTI3zk4ghkEC1pnTUeq3HjGfHSLEZ8UkuD7c7-d-Ao7d8qgWcdf8cCC3FOB6NUvBR5Fqwd_NWFQTsXxmkIkmxx05APyVZjs3upK2KgA3ix4/s1600/finish.png" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br /></div>
bhavanhttp://www.blogger.com/profile/15803781487147086753noreply@blogger.com2