macosapple-m1ns2ns-3

Is ns2 installable for M1 Mac?


In our Lab, we were asked to install ns2. I tried running a script from a GitHub repo. But, after executing, it failed to run. I saw this ns3 google group. It mentioned that ns-3.33 was able to install in her system. But it didn't mention ns2. I haven't been able to find any material which points to any ns2 installation. Can anyone confirm if it is even possible, as this software is quite old, and my architecture is ARM?


Solution

  • I actually got the help of one of the developers of ns-3. He was kind enough to help me with the installation, and he mentioned the steps which were required for the installation at: https://www.nsnam.org/~tomh/ns-2-mac-m1-instructions.pdf

    I followed the steps mentioned in this, and it worked perfectly.