Dear community,
I am looking for some information on a behavior during installation that I don’t understand.
On a fresh debian 12 system according to the documentation I do the following :
- Install requirements
apt instal gcc software-properties-common
- setup cuda keyring
dpkg -i cuda-keyring_1.1-1_all.deb
- add contrib section to sources.list
Then when I only install the following packages :
nvidia-driver-cuda
nvidia-driver
cuda-toolkit
nvidia-smi is failing with error :
root@server:/tmp# nvidia-smi
NVIDIA-SMI couldn't find libnvidia-ml.so library in your system. Please make sure that the NVIDIA Display Driver is properly installed and present in your system.
Please also try adding directory that contains libnvidia-ml.so to your system PATH.
By installing this package : libnvidia-ml1
nvidia-smi works.
I don’t unserstand because nvidia-smi is provided by the packages I just installed, so why libnvidia-ml1 is not a dependency of nvidia-driver-cuda ? What am I missing here ?
root@server:/tmp# dpkg -S nvidia-smi
nvidia-driver-cuda: /usr/share/man/man1/nvidia-smi.1.gz
nvidia-driver: /usr/share/doc/nvidia-driver/html/nvidia-smi.html
nvidia-driver-cuda: /usr/bin/nvidia-smi
Thanks !