How To Install ltrace.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install ltrace.x86_64
on Amazon Linux 2.
What is ltrace.x86_64
Ltrace is a debugging program which runs a specified command until the command exits. While the command is executing, ltrace intercepts and records both the dynamic library calls called by the executed process and the signals received by the executed process. Ltrace can also intercept and print system calls executed by the process. You should install ltrace if you need a sysadmin tool for tracking the execution of processes.
We can use yum
to install ltrace.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ltrace.x86_64.
Install ltrace.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install ltrace.x86_64
using yum
by running the following command:
sudo yum -y install ltrace.x86_64
How To Uninstall ltrace.x86_64 on Amazon Linux 2
To uninstall only the ltrace.x86_64
package we can use the following command:
sudo yum remove ltrace.x86_64
ltrace.x86_64 Package Contents on Amazon Linux 2
/usr/bin/ltrace
/usr/share/doc/ltrace-0.7.91
/usr/share/doc/ltrace-0.7.91/COPYING
/usr/share/doc/ltrace-0.7.91/CREDITS
/usr/share/doc/ltrace-0.7.91/INSTALL
/usr/share/doc/ltrace-0.7.91/NEWS
/usr/share/doc/ltrace-0.7.91/README
/usr/share/doc/ltrace-0.7.91/TODO
/usr/share/ltrace
/usr/share/ltrace/libacl.so.conf
/usr/share/ltrace/libc.so.conf
/usr/share/ltrace/libm.so.conf
/usr/share/ltrace/syscalls.conf
/usr/share/man/man1/ltrace.1.gz
/usr/share/man/man5/ltrace.conf.5.gz
References
Summary
In this tutorial we learn how to install ltrace.x86_64
on Amazon Linux 2 using yum.