This is an old revision of the document!
https://wiki.debian.org/NvidiaGraphicsDrivers#Debian_12_.22Bookworm.22
https://www.cyberciti.biz/faq/ubuntu-linux-install-nvidia-driver-latest-proprietary-driver/
https://docs.nvidia.com/datacenter/tesla/driver-installation-guide/index.html#ubuntu-installation
Install the new cuda-keyring package:
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb sudo dpkg -i cuda-keyring_1.1-1_all.deb apt-get update apt-get install nvidia-open apt-get install cuda-drivers watch -n 0.5 nvidia-smi, will keep the output updated without filling your terminal with output. –
Bar CommentedJul 14, 2016 at 18:26 124 @Bar Good tip. watch -d -n 0.5 nvidia-smi will be even better. – zeekvfu CommentedJan 17, 2018 at 16:27 20 @zeekvfu I think it'd be better to explain what does the -d flag do – donlucacorleone CommentedOct 10, 2018 at 14:41 37 @donlucacorleone man watch tells us the -d flag highlights differences between the outputs, so it can aid in highlighting which metrics are changing over time. – David Kaczynski CommentedOct 21, 2018 at 2:56 2 instead of watch -n 0.5 nvidia-smi you can also use nvidia-smi –loop-ms=500 – Jaleks CommentedMar 26, 2020 at 10:42 Show 3 more comments 160
For linux, use nvidia-smi -l 1
