ltrace command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ltrace: command not found
or when using sudo you get the following error message
sudo: ltrace: command not found
Solutions to ltrace: command not found
How To Fix ltrace: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ltrace is provided by ltrace package.
ltrace is:
ltrace is a debugging program which runs a specified command until it exits. While the command is executing, ltrace intercepts and records the dynamic library calls which are called by the executed process and the signals received by that process. It can also intercept and print the system calls executed by the program.
The program to be traced need not be recompiled for this, so you can use it on binaries for which you don’t have the source handy.
You should install ltrace if you need a sysadmin tool for tracking the execution of processes.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ltrace
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ltrace.
sudo apt -y install ltrace
Or if you have aptitude installed you can use the following command.
sudo aptitude install ltrace
Summary
In this tutorial we learn how to fix ltrace command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.