Instalasi Network Simulator (ns2.34) di Ubuntu10.10

  Ditulis pada Dec 16, 2010 // Tutorial.  

Tak dipungkiri aplikasi ns2, nam dan xgraph sangat membantu dalam pembuatan sebuah simulator jaringan sebelum jaringan benar-benar diimplementasikan. Dengan ketiga aplikasi tersebut kita dapat membuat sebuah simulator jaringan dengan mudah dan efisien dalam sistem operasi berbasis Open Source. Ubuntu 10.10 sebagai sistem operasi open source tercanggih saat ini ternyata memiliki kelebihan yang memudahkan kita dalam melakukan instalasi ns2, nam dan xgraph dengan sebaris command sederhana dalam terminal kita. Berikut ini akan dibahas tentang cara instalasi ns, nam dan xgraph dalam Ubuntu 10.10
Pastikan komputer anda terhubung dengan jaringan internet untuk mengunduh paket aplikasi yang diinginkan.
Buka terminal anda lewat menu Applications > Accessories > Terminal.
Ketikkan perintah berikut :
sudo apt-get install ns2 nam xgraph
Akan terlihat baris perintah dalam terminal :
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-2.6.35-22 linux-headers-2.6.35-22-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libotcl1 tk8.4
Suggested packages:
gnuplot ygraph
The following NEW packages will be installed:
libotcl1 nam ns2 tk8.4 xgraph
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,809kB of archives.
After this operation, 12.7MB of additional disk space will be used.
Do you want to continue [Y/n]?

Tekan tombol y dan instalasi akan berjalan kembali :
Get:1 http://id.archive.ubuntu.com/ubuntu/ maverick/universe libotcl1 i386 1.14~RC2+dfsg1-1 [52.1kB]
Get:2 http://id.archive.ubuntu.com/ubuntu/ maverick/main tk8.4 i386 8.4.19-4 [1,023kB]
Get:3 http://id.archive.ubuntu.com/ubuntu/ maverick/universe nam i386 1.15~RC3-1 [272kB]
Get:4 http://id.archive.ubuntu.com/ubuntu/ maverick/universe ns2 i386 2.35~RC6-1 [3,375kB]
Get:5 http://id.archive.ubuntu.com/ubuntu/ maverick/universe xgraph i386 12.1-13 [87.8kB]
Fetched 4,809kB in 12min 55s (6,202B/s)
Selecting previously deselected package libotcl1.
(Reading database ... 153043 files and directories currently installed.)
Unpacking libotcl1 (from .../libotcl1_1.14~RC2+dfsg1-1_i386.deb) ...
Selecting previously deselected package tk8.4.
Unpacking tk8.4 (from .../tk8.4_8.4.19-4_i386.deb) ...
Selecting previously deselected package nam.
Unpacking nam (from .../nam_1.15~RC3-1_i386.deb) ...
Selecting previously deselected package ns2.
Unpacking ns2 (from .../ns2_2.35~RC6-1_i386.deb) ...
Selecting previously deselected package xgraph.
Unpacking xgraph (from .../xgraph_12.1-13_i386.deb) ...
Processing triggers for man-db ...
Setting up libotcl1 (1.14~RC2+dfsg1-1) ...
Setting up tk8.4 (8.4.19-4) ...
update-alternatives: using /usr/bin/wish8.4 to provide /usr/bin/wish (wish) in auto mode.
Setting up nam (1.15~RC3-1) ...
Setting up ns2 (2.35~RC6-1) ...
Setting up xgraph (12.1-13) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place