cairo-trace command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cairo-trace: command not found
or when using sudo you get the following error message
sudo: cairo-trace: command not found
Solutions to cairo-trace: command not found
How To Fix cairo-trace: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cairo-trace is provided by cairo-perf-utils package.
cairo-perf-utils is:
Cairo is a multi-platform library providing anti-aliased vector-based rendering for multiple target backends.
This package contains a set of utilities for capturing and replaying cairo execution traces using various backends, in order to be able to measure the performance of cairo for real-world applications in a reproducible way.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cairo-perf-utils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cairo-perf-utils.
sudo apt -y install cairo-perf-utils
Or if you have aptitude installed you can use the following command.
sudo aptitude install cairo-perf-utils
Summary
In this tutorial we learn how to fix cairo-trace command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.