New linux box, can't install driver for RTX 2080ti

New Machine is running horribly without driver install, I downloaded 418.56 but on install it is looking for cc…

The first thing the driver install does is report “The distribution-provided pre-install script failed! are you sure you want to continue” I selected [Continue Installation]
then it fails, Here is my log:

What should I do?

cat /var/log/nvidia-installer.log
nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Fri Apr 12 13:03:46 2019
installer version: 418.56

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

nvidia-installer command line:
./nvidia-installer
–no-x-check

Using: nvidia-installer ncurses v6 user interface
-> Detected 24 CPUs online; setting concurrency level to 24.
-> Installing NVIDIA driver version 418.56.
-> Running distribution scripts
executing: ‘/usr/lib/nvidia/pre-install’…
-> done.
-> The distribution-provided pre-install script failed! Are you sure you want to continue? (Answer: Continue installation)
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.
ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

thanks

i decided to just install gcc (actually build-essential)
$ sudo apt install build-essential
see: https://linuxconfig.org/how-to-install-gcc-the-c-compiler-on-ubuntu-18-04-bionic-beaver-linux

then install of the driver then worked