How to install tracegraph into ubuntu 20.04 LTS

tracegraph202 is a very old and obsolete tool and is incompatible to Linux still my University thought that it was a good idea to ask the students to install that. I tried installing that from here, here and here none works in my end. Please help


Solution 1:

It is still possible by executing the following commands:

sudo apt-get install libc6:i386 libxext6:i386 libxt6:i386
cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/multiarch-support_2.27-3ubuntu1.4_amd64.deb
sudo apt-get install -y ./multiarch-support_2.27-3ubuntu1.4_amd64.deb
wget -c http://ftp.debian.org/debian/pool/main/libx/libxp/libxp6_1.0.2-2_i386.deb
sudo apt-get install -y ./libxp6_1.0.2-2_i386.deb

wget -c https://lahore.comsats.edu.pk/research/groups/CNRC/tracegraph202linux.tar.gz
tar -zxvf tracegraph202linux.tar.gz
cd tracegraph202
wget -c https://lahore.comsats.edu.pk/research/groups/CNRC/mglinstaller.gz
gunzip mglinstaller.gz
chmod +x mglinstaller
./mglinstaller

Then add the LD_LIBRARY_PATH variable to your ~/.bashrc file by

echo "export LD_LIBRARY_PATH=/home/$USER/Downloads/tracegraph202/bin/glnx86" >> ~/.bashrc

then

source ~/.bashrc
./trgraph

This will give the following output:

$ ./trgraph Copyright (c) 2001-2005 by Jaroslaw Malek All rights
reserved. Author contact: [email protected]

Using and copying any version of Trace graph program and its
documentation is allowed only for non-commercial purposes provided
that the above copyright  notice and this permission appear in all
copies and any materials related to Trace graph. Commercial use
requires a permission from Jaroslaw Malek. Trace graph cannot be
distributed, sold,  copied or modified without Jaroslaw Malek's
permission. Trace graph is provided with no warranty. Jaroslaw Malek
is not responsible  for any events and results caused by using Trace

and graphical window of the application.


Note: binary distribution was found on https://lahore.comsats.edu.pk/research/groups/CNRC/QuickLinks.aspx .