Install libxnvctrl-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libxnvctrl-dev
Description:
NV-CONTROL X extension (development files)
The NV-CONTROL X extension provides a mechanism for X clients to query and set configuration parameters of the NVIDIA X driver. State set by the NV-CONTROL X extension is assumed to be persistent only for the current server generation.
Version: 390.42-0ubuntu1
Section: libdevel