sudo ./cuda-uninstaller
sudo rm -rf cuda-12.3
nvidia-smi
- wget https://developer.download.nvidia.com/compute/cuda/12.2.2/local_installers/cuda_12.2.2_535.104.05_linux.run
- sudo sh cuda_12.2.2_535.104.05_linux.run
cd .bashrc
- export PATH="$PATH:/usr/local/cuda-12.2/bin"
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda-12.2/lib64/"
- export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/cuda-12.2/lib64"
source ~/.bashrc
nvcc -V