mutextrace command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mutextrace: command not found
or when using sudo you get the following error message
sudo: mutextrace: command not found
Solutions to mutextrace: command not found
How To Fix mutextrace: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mutextrace is provided by mutextrace package.
mutextrace is:
This tool displays mutexes locked and unlocked during execution of a program, and can provide hints for debugging multithreaded applications. As it is fairly lightweight and easy to use, it is ideal at the start of a debugging session or when only limited resources are available.
It cannot detect data races as it only looks at the synchronisation primitives themselves; if you need that, use helgrind (in the valgrind package) instead.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mutextrace
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mutextrace.
sudo apt -y install mutextrace
Or if you have aptitude installed you can use the following command.
sudo aptitude install mutextrace
Summary
In this tutorial we learn how to fix mutextrace command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.