1
0
md/install-nvidia-smi.md

37 lines
1.3 KiB
Markdown
Raw Normal View History

2025-10-13 17:22:20 +08:00
```shell
2025-10-13 17:59:23 +08:00
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt-get update
sudo apt-get -y install cuda-toolkit-12-8
sudo apt-get install -y cuda-drivers
2025-10-13 17:22:20 +08:00
```
```shell
2025-10-13 17:59:23 +08:00
nvidia-smi
2025-10-13 17:22:20 +08:00
```
```shell
2025-10-13 17:59:23 +08:00
nvcc -V
2025-10-14 09:41:29 +08:00
```
2025-10-14 10:05:19 +08:00
```
E: Failed to fetch http://mirrors.tuna.tsinghua.edu.cn/ubuntu/pool/restricted/l/linux-restricted-modules/linux-objects-nvidia-570-6.8.0-63-generic_6.8.0-63.66+3_amd64.deb 403 Forbidden [IP: 101.6.15.130 80]
E: Failed to fetch http://mirrors.tuna.tsinghua.edu.cn/ubuntu/pool/restricted/l/linux-restricted-signatures/linux-signatures-nvidia-6.8.0-63-generic_6.8.0-63.66+3_amd64.deb 403 Forbidden [IP: 101.6.15.130 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
```
2025-10-14 09:41:29 +08:00
```
2025-10-14 09:59:44 +08:00
(base) root@ss-IdeaPad-PC:/etc/apt/sources.list.d# cat ubuntu.sources
Types: deb
URIs: http://cn.archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Types: deb
URIs: http://security.ubuntu.com/ubuntu
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
2025-10-13 18:01:03 +08:00
```