![]() The distribution-independent package has the advantage of working across a Now regarding the nvidia-cuda-toolkit you want to install… what about going on the same way ?īe aware that even nvidia recommends preferring the distro-specific package to their distribution agnostic download. (Take care to first check that somepreciseversion is made available in the repository for your specific hardware by running the ubuntu drivers command.) If you get any valid reason for not choosing the recommended version. In order to automatically install the recommended version (which is likely to be the latest stable compatible with your hardware) or $ sudo apt install nvidia-driver-somepreciseversion Therefore, instead of running the nvidia installer script, (for ubuntu) do prefer : $ sudo ubuntu-drivers autoinstall Since no answer to my comment, I will assume that there is no valid reason for bypassing the package manager straight from the beginning which consists in installing the nvidia proprietary drivers.Ĭonsidering this very particular part of software, the known and recurrent problems of one given version with some given version of the kernel, with some given version of xorg… best is to leave the package manager dealing with all that compatibility problems you are actually facing. How can I install the correct (matching) version of nvidia-cuda-tookit? Sudo cp /var/cuda-repo-ubuntu-local/cuda-*-keyring.gpg /usr/share/keyrings/īut this just broke my local CUDA installation. ![]() Sudo mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600 Furthermore, I tried installing through the website: wget I don't think my package manager (apt) will work since I did not install cuda through apt. I would like to install a matching version of the nvidia-cuda-toolkit, but I'm not sure how. Reboot in graphical mode: sudo systemctl set-default graphical.target Reboot the system in non-graphical mode: sudo systemctl set-default multi-user.target ![]() I have installed the NVIDIA drivers for my system (Ubuntu 22) as follows: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |