https://blog.csdn.net/qq_49323609/article/details/130310522
is very good
1,first check driver
nvidia-smi
if no content ,show install driver first
two ways:
one is :
use apt-get like : https://blog.csdn.net/zxdd2018/article/details/127705627
ubuntu-drivers devices
sudo apt install nvidia-driver-515
another is : like https://blog.csdn.net/qq_49323609/article/details/130310522
从NVIDIA官网下载相应驱动
now i use the second method
--------------------------------------------------------------------------
check cuda
https://developer.nvidia.com/cuda-toolkit-archive
in the website shows offical ways to install cuda
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb
sudo dpkg -i cuda-keyring_1.0-1_all.deb
sudo apt-get update
sudo apt-get -y install cuda'
----------------------------------------------------
install cudnn like :https://blog.csdn.net/qq_49323609/article/details/130310522
标签:install,ubuntu22.04,apt,blog,cudnn,csdn,cuda,https
From: https://www.cnblogs.com/dmesg/p/17923559.html