cairo-perf-micro command not found

In this troubleshooting guide we learn how to fix cairo-perf-micro command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

cairo-perf-micro: command not found

or when using sudo you get the following error message

sudo: cairo-perf-micro: command not found

Solutions to cairo-perf-micro: command not found

How To Fix cairo-perf-micro: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cairo-perf-micro 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-perf-micro command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.