Saturday, December 6, 2014

Installing Strace in a Debian Machine

Approach A
sudo apt-get install strace >> didn't work.


Approach B

Download the tar installer file from below location (assuming download location is ~/Downloads)

http://sourceforge.net/projects/strace/

Then run the below commands

root@sincity:~/Downloads# ls
strace-4.9.tar.xz
root@sincity:~/Downloads# tar -Jxf strace-4.9.tar.xz
root@sincity:~/Downloads# ls
strace-4.9  strace-4.9.tar.xz
root@sincity:~/Downloads# cd strace-4.9

root@sincity:~/Downloads/strace-4.9# ./configure

root@sincity:~/Downloads/strace-4.9# make

root@sincity:~/Downloads/strace-4.9# make install
root@sincity:~/Downloads/strace-4.9# strace -V
strace -- version 4.9

No comments:

Post a Comment