Score:0

Installing CUDA 12.0 on Ubuntu 22.04 and Driver Version: 535.86.05

pa flag
  • OS: Ubuntu 22.04.3 LTS
  • GPU: RTX3090
  • Nvidia driver: 535.86.05
+---------------------------------------------+
| NVIDIA-SMI 535.86.05              Driver Version: 535.86.05    CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+

I have followed the instructions to install CUDA 12.0, but it always fails at the end with the following error:

Errors were encountered while processing: 
nvidia-dkms-525
cuda-drivers-525
nvidia-driver-525
cuda-drivers
cuda-runtime-12-0
cuda-12-0
cuda-demo-suite-12-0
cuda

I reinstall Ubuntu everytime to avoid compatibility issues. I believe that the problem has to do with the driver, because the instructions linked requires nvidia-driver-525, while my driver is 535.86.05. What is the best option to install CUDA 12.0 with my current setup? Thank you

Terrance avatar
id flag
I think you are missing a vital point here during the CUDA install. It should be asking for what you want installed. If you see my answers at https://askubuntu.com/a/1288405/231142 during the install it tries to install its own NVIDIA driver which will conflict with the versions you have installed already. But, I haven't tried that install that you are running through as I have only used the `.run` file installs and not the `.deb` ones.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.