nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Thu Apr 2 00:27:28 2020 installer version: 390.132 PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin nvidia-installer command line: ./nvidia-installer Using: nvidia-installer ncurses v6 user interface -> Detected 2 CPUs online; setting concurrency level to 2. -> Tagging shared libraries with chcon -t textrel_shlib_t. -> Installing NVIDIA driver version 390.132. -> Performing CC sanity check with CC="/usr/bin/gcc-9.2". ERROR: Unable to determine the version of the kernel sources located in '/lib/modules/5.5.11-200.fc31.x86_64/source'. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option. 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.