Cuda 12.3 instead of cuda 12.2 installation from the official site

I want to install cuda 12.2 with the 535 driver from the oficial repository
with this command in ubuntu 22.04

wget mv /etc/apt/preferences.d/cuda-repository-pin-600wget dpkg -i cuda-repo-ubuntu2204-12-2-local_12.2.0-535.54.03-1_amd64.debsudo cp /var/cuda-repo-ubuntu2204-12-2-local/cuda-*-keyring.gpg /usr/share/keyrings/sudo apt-get updatesudo apt-get -y install cuda

but this install cuda 12.3 with 545 driver version
why does nvidia make this mess? My app was designed for cuda 12.2 and now I can’t use it. I paid a lot of money to buy this crappy video card from nvidia and now I can’t install the drivers I want even from their official site, This is pure madness

Encountering the same problem with my Fedora38. I am learning ML and was trying to install cuda-toolkit. But it won’t install because the required Nvidia driver version is 545 but I have 535. Moreover, the required cuda version is 12.3 and I got 12.2!

Since yesterday I have been trying to install 545 and successfully wasted hours doing that. Result? nvidia-smi show “failed because it couldn’t communicate with the NVIDIA driver”. My secondary monitor is also blank.

At least my 535 was performing pretty well. Now I have to deal with this.

ts sem run local instaler it working well
to uninstall the old driver and cuda use this commands

sudo apt-get --purge remove nvidia-*
sudo apt-get --purge remove "*nvidia*"
sudo apt autoremove cuda
sudo apt-get --purge remove "*cublas*" "cuda*" "nsight*"

for install cuda 12.2 use this comand

wget sh

for install cuda12.3 use this comand

wget sh

the problem remains, the official installation script installs other drivers than the declared ones. Does anyone know how we can contact nvidia to fix the problem?

please read the linux install guide: CUDA Installation Guide for Linux

to install an older version of CUDA using a package manager method, you must specify the CUDA version.

Instead of

apt-get install cuda

you must do

apt-get install cuda-12-2

thanks for the clarification, but someone should modify this test :

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.