How To Install NS2 (Network Simulator) & NAM (Network Animator) on Fedora 10

9:01 am on March 16th, 2009 | Linux, Tech

[It was a very hard and crazy ass thing to do in the first place. I though I should celebrate with a blog post. Now I’m too lazy to do that even.]

New Edit…

Check out this post on the Fedora Forum and read it COMPLETELY.

Go to: http://bugs.gentoo.org/show_bug.cgi?id=225999

There a bug in tk which has to be patched manually before the next version of tk comes out. What I did was to manually replace the code and then run the install script.

Again, read the bug report on gentoo.org CAREFULLY.

4 Responses to “How To Install NS2 (Network Simulator) & NAM (Network Animator) on Fedora 10”

  1. 1. Type ./install at ns2 directory

    2. Change in ./bash_rc

    3. Type ~/.bashrc

  2. Harsha says:

    Wish it were that easy.

    Try it and tell me if it works for you. It did not for me. And also for a number of other people.

    There is a bug in tk if I remember correctly that has to be manually patched. And then run the install script. The ns2-all-in-one package does not work Out-of-Box.

  3. parashar says:

    hey i used ns2 in my desktop and in it it works fine…

    but when i installed it on to the laptop i am getting the following error..

    [kishan@localhost bin]$ nam:
    [code omitted because of length]
    : no event type or button # or keysym
    while executing
    "bind Listbox {
    %W yview scroll [expr {- (%D / 120) * 4}] units
    }"
    invoked from within
    "if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
    bind Listbox {
    %W yview scroll [expr {- (%D)}] units
    }
    bind Li..."

    please help me resolve this...

    u can mail to my mail id parashar028@yahoo.co.in...

  4. Harsha says:

    Post updated. Check it out.

Leave a Reply