Hi, and thanks for reading.
I'm installing Mint 19.3 and attempting to install the Nvidia driver for my gpu to remedy screen tearing/scrambling/flickering issues.
I've managed to blacklist Nouveau, close down the x server, and get the Nvidia driver installation started in the command console, but I get an error message telling me that I need to install the libc header files or the libc development package. I think I've gotten pretty close to doing this, but I don't know how to pick the right one.
Am I on the right track trying to install linux-header-* files? If I am, how do I find the correct one?
My version (from uname -or) is: 5.0.0-32-generic GNU/Linux
Here's the /var/log/nvidia-installer.log file:
Unable to load: nvidia-installer ncurses v6 user interface
Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 304.137.
-> There appears to already be a driver installed on your system (version: 304.137). As part of installing this driver (version: 304.137), the existing driver will be uninstalled. Are you sure you want to continue? ('no' will abort installation) (Answer: Yes)
-> Running distribution scripts
executing: '/usr/lib/nvidia/pre-install'...
-> done.
-> The distribution-provided pre-install script failed! Continue installation anyway? (Answer: Yes)
-> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: No)
ERROR: You do not appear to have libc header files installed on your system. Please install your distribution's libc development package.
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.
"/var/log/nvidia-installer.log" 22L, 1434C 22,4 Bot