Created
June 18, 2021 12:07
-
-
Save greenrobot/1e38b66f9629f0a24453c881546ef3f5 to your computer and use it in GitHub Desktop.
NVIDIA driver problems: install/update script expects gcc but system's default is clang
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
update-alternatives --set cc /usr/bin/gcc | |
update-alternatives --set c++ /usr/bin/g++ | |
cc --version | |
c++ --version | |
apt install nvidia-driver-460 | |
update-alternatives --set cc /usr/bin/clang | |
update-alternatives --set c++ /usr/bin/clang++ | |
cc --version | |
c++ --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment