cec-client command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cec-client: command not found
or when using sudo you get the following error message
sudo: cec-client: command not found
Solutions to cec-client: command not found
How To Fix cec-client: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cec-client is provided by cec-utils package.
cec-utils is:
This library provides support for the Pulse-Eight USB-CEC adapter and other CEC capable hardware, like the Raspberry Pi.
This package provides the CEC utility programs.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cec-utils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cec-utils.
sudo apt -y install cec-utils
Or if you have aptitude installed you can use the following command.
sudo aptitude install cec-utils
Summary
In this tutorial we learn how to fix cec-client command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.