To Install Tracegraph in Fedora Linux (I used Fedora 12)
- Step download the Tracegraph software from this link
- You need to download two files, mglinstaller.gz and tracegraph202.tar.gz
- Copy the files under /home/pradeep/ (in my case it is /home/pradeep/)
- Untar the tracegraph202.tar.gz using the command tar zxvf tracegraph202.tar.gz
- A Folder tracegraph202/ will be created and go to the folder using the command cd tracegraph202 or cd /home/pradeep/tracegraph202
- copy the mglinstaller.gz file inside the tracegraph202/ folder
- now execute the command to unzip the mglinstaller.gz using the following command gzip -d mglinstaller.gz
- Run the mglinstaller by executing the command ./mglinstaller (see the . in the beginning)
- The above command will create a folder within the bin folder and set the following lines to the LD_LIBRARY_PATH variable export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/pradeep/tracegraph202/bin/glnx86
- The above path will be set to the LD_LIBRARY_PATH Variable in the following file .bashrc which will be available at /home/pradeep (each username will have such a file in the corresponding folder, if you are using more number of users, each user should be set with the LD_LIBRARY_PATH, root will be having the .bash_profile at /root/.bashrc).
- To open this file type either vi /home/pradeep/.bashrc or gedit /home/pradeep/.bashrc and include the line of code given in step 10.
- Save the file, close and logout and login and go to the tracegraph202 folder and run ./trgraph (thats it!!!!)
- After step 13, some Linux versions will get an error called libXp.so.6 error, to overcome that give this command by connecting your machine to internet yum install libXp.so.6 or else download the package XFree86-libs-4.1.0-50.i386.rpm from the website http://rpm2html.osmirror.nl/redhat-archive/updates/7.1/en/os/i386/XFree86-libs-4.1.0-50.i386.html and then install the package by giving rpm -ivh XFree86-libs-4.1.0-50.i386.rpm and thats it.
- (For better results, see the Video given below)
In ubuntu 18.04 it showes libXp.so.6 error. How to sove this?
ReplyDeletethank you