nvidia – Unable to find the development tool `cc`

i tried to install nvidia file using this command

sudo sh NVIDIA-Linux-x86_64-450.80.02.run

and got

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.

i checked echo $PATH

/usr/bin:/bin:/usr/local/games:/usr/games:opt/openmpi/bin:/usr/local:/usr/lib:/usr/local/bin:/usr/local/lib:/usr/lib64/openmpi/lib:/usr/bin/g++:/usr/bin/gcc