Install cec-utils by entering the following commands in the terminal:
sudo apt update sudo apt install cec-utils
Description:
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.
Homepage: http://libcec.pulse-eight.com/
Version: 4.0.2+dfsg1-2ubuntu1
Section: universe/utils