RTX 2060 NVIDIA driver version 415.27 - ERROR: "Building kernel modules"

Error with install driver, I join my log.
nvidia-installer.log (248.7 KB)

sudo sh ./NVIDIA-Linux-x86_64-415.27.run

The 415 driver is outdated and you shouldn’t use the .run installer anyway. Please install the current driver using Ubuntu’s Software&Updates application.

Ok thanks.

I have install the 440 :

ubuntu-drivers devices

== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001E89sv00003842sd00002068bc03sc00i00
vendor : NVIDIA Corporation
driver : nvidia-driver-440 - third-party free recommended
driver : xserver-xorg-video-nouveau - distro free builtin

but I don’t have the impression that the model is recognized…

That’s just the command to show the available drivers.
Please run
sudo apt install nvidia-driver-440
to install the driver

It’s OK I do it. Thanks.

 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2060] (                         rev a1)