Created
March 31, 2026 15:47
-
-
Save maifeeulasad/5249fa6b421837c8079e34c1503c0951 to your computer and use it in GitHub Desktop.
fresh install cuda in raw root shell
This file contains hidden or 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 purge 'nvidia*' -y | |
| sudo apt purge 'cuda*' -y | |
| sudo apt autoremove --purge -y | |
| dpkg -l | grep nvidia | |
| echo -e "blacklist nouveau\noptions nouveau modeset=0" | sudo tee /etc/modprobe.d/blacklist-nouveau.conf | |
| sudo update-initramfs -u | |
| sudo rmmod nvidia_drm nvidia_modeset nvidia_uvm nvidia | |
| sudo sh cuda_13.1.1_590.48.01_linux.run --disable-nouveau --no-cc-version-check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment