Install cec-utils by entering the following commands in the terminal:
sudo apt update sudo apt install cec-utils
USB CEC Adaptor communication Library (utility programs)
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.