Last active
June 28, 2023 18:48
-
-
Save nathantsoi/508f0ffb41ecc723318de992d50bcfd3 to your computer and use it in GitHub Desktop.
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
sudo apt-get remove --purge -y '^nvidia-.*' '^libnvidia-.*' '^cuda-.*' | |
sudo ubuntu-drivers autoinstall |
Note, some machines might not like the current version, in which case a specific version can be installed like so:
sudo apt install nvidia-driver-430
If you don't know what driver to install, run sudo ubuntu-drivers list
first then sudo apt install [package name]
where [package name]
is something like nvidia-driver-530
. I suggest you don't use the -open
drivers as they tend to have problems.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to (re)install nvidia drivers on an aws machine: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-nvidia-driver.html