30 October 2013

Tracegraph installation in Ubuntu 13.10 (64 bit)

Installing Tracegraph in Linux is always a challenge and that too in a 64 BIT operating System. This post will help the readers in installing the tracegraph comfortably in Ubuntu 13.10 (64 bit OS).

You may refer the older post too: http://www.nsnam.com/2013/02/how-to-install-tracegraph-in-64-bit.html

Ubuntu 13.10 is revamped with great features and also there are some limitations while installing 32 bit softwares in 64 bit OS.

So here are the steps in Installing Tracegraph in Ubuntu 13.10

  • Download the Tracegraph.tar.gz file and copy it to the /home/username folder
  • Enter the following commands one by one 
  • Untar it by entering the command, "tar xvzf tracegraph.tar.gz"
  • cd tracegraph202
  • ./trgraph  (if this command gives you ./trgraph command not found, the follow the next step)
  • sudo apt-get install  lib32z1 lib32ncurses5 lib32bz2-1.0 libxi6 libxtst6 libxrender1 libxtst6:i386 libXp6:i386 libXt6:i386
  • The above command will fetch various libraries from the internet sources and downloaded and then try ./trgraph (you can see three windows popping out as indicated in the figure)
Tracegraph
Tracegraph on Ubuntu 13.10

Don't forget to set the LD_LIBRARY_PATH for the shared object libraries as given below
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/username/tracegraph202/bin/glnx86/

If the path for NS2 is already set, the append this line to the existing LD_LIBRARY_PATH variable as given below
export LD_LIBRARY_PATH=/first/path:/second/path:/home/username/tracegraph202/bin/glnx86/