ERROR: Unable to find the development tool cc
in your path; please make sure that you have the package ‘gcc’ installed. If gcc is installed on your system, then please check that cc
is in your PATH.
Solution:
You probably don’t have build-essential installed, and NVIDIA needs the compiler bits to actually install and handle the driver. Run sudo apt install build-essential and install the GCC compiler and such via that package.