This is not necessary if you want to use CUDA 7, you can just use the runfile installer method which has all the necessary components including an appropriate driver (346.46). I believe you are picking up a 304.xx driver via a specific (ie. If you want to reinstall ubuntu to create a clean setup, the linux getting started guide has all the instructions needed to set up CUDA if that is your intent. (irrespective of the drivers)īeing said that whatever nvidia-cuda-toolkit install made thanks to the nvidia installer breaking whatever version already installed via the package manager would be nothing but is a driver that will support CUDA 5 and previous (does not support newer CUDA versions.) Moreover, I understand that OP (Who do not tell if the 515 is actually compatible with their hardware/kernel/xorg) more facing trouble with some local ? cuda install being possibly broken by its later install of the nvidia-cuda-toolkit. However, since nvidia-cuda-toolkit 11.x is claimed compatible with >= 450.80.02 nvidia-drivers version and OP reported having installed 515.65, there should get nothing to worry about drivers incompatibility, even going with the. Note : I do acknowledge this answer does not meet the special requirements made for the bounty. However, for having just checked, latest available versions in ubuntu repo being 11.5, Is the 11.7 (latest upstream dev version) actually worth the extra gray hairs… -) If there is some part you hardly understand please do not hesitate to ask as part of a comment. Of course and, at your own unsupported risks, you might want running a more recent version of the toolkit than the one suggested by your package manager.īTW, strictly follow the instructions and checklist provided by nvidia Therefore, (on Ubuntu) simply fire $ sudo apt install nvidia-cuda-toolkitĪnd forget whatever about any compatibility problem. It is recommended to use theĭistribution-specific packages, where possible. Theĭistribution-specific packages interface with the distribution's Wider set of Linux distributions, but does not update theĭistribution's native package management system. 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 |