Installing NS-2 on Ubuntu

In this year I started following the Master of Computer Science ( MCS ) at University of Colombo School of Computing and these days I'm following a module named "Advanced Concepts in Data Communication Networks" The lecturer asked us to install a program called NS-2 and to play around with it as we will get an assignment on it soon! As usual when I hear a new name, I just googled for it and found the official website: http://www.isi.edu/nsnam/ns/ What is NS-2? NS-2 is a Network Simulator. According to Wikipedia, NS-2 is a "discrete event network simulator" and the latest available version as of now is NS-3, which is available at http://www.nsnam.org/ The difference between NS-2 and NS-3 The FAQ at www.nsnam.org clearly mentions the difference between NS-2 and NS-3. NS-3 is a new software development effort and uses C++ programs or python scripts to define simulations. However NS-2 uses OTcl for scripts. So the most i...