Created
April 9, 2023 03:50
-
-
Save theGOTOguy/f49b1d69fd757d2a6e0a10ce38b2163c to your computer and use it in GitHub Desktop.
NVIDIA Proprietary Drivers 525 Fail to Install on Ubuntu Jammy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Since the 525 drivers, I noticed that, e.g.: | |
sudo ./NVIDIA-Linux-x86_64-525.105.17.run | |
# Has started failing with an error indicating that I should check /var/log/nvidia-installer.log | |
# Looking at those logs, I see an error indicating that the version of GCC being used doesn't match. | |
# In particular, the default version of cc at /usr/bin/cc is gcc-11, but gcc-12 is expected. | |
# This is easy to fix. | |
which gcc-12 | |
# indicate that I do have gcc-12 installed at /usr/bin/gcc-12 | |
# Thus, I can simply install with: | |
sudo CC=/usr/bin/gcc-12 ./NVIDIA-Linux-x86_64-525.105.17.run | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment