lttng-sessiond command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
lttng-sessiond: command not found
or when using sudo you get the following error message
sudo: lttng-sessiond: command not found
Solutions to lttng-sessiond: command not found
How To Fix lttng-sessiond: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu lttng-sessiond is provided by lttng-tools package.
lttng-tools is:
The LTTng project aims at providing highly efficient tracing tools for Linux. Its tracers help tracking down performance issues and debugging problems involving multiple concurrent processes and threads. Tracing across multiple systems is also possible.
This package provides the unified interface to control both the LTTng kernel and userspace (UST) tracers.
To fix this problem, we can install more using the command below.
sudo apt-get -y install lttng-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install lttng-tools.
sudo apt -y install lttng-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install lttng-tools
Summary
In this tutorial we learn how to fix lttng-sessiond command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.