Update debian/nvidia-drivers.sh
This commit is contained in:
parent
8fb6566ccd
commit
5a8f2ad619
1 changed files with 8 additions and 1 deletions
15
debian/nvidia-drivers
vendored
15
debian/nvidia-drivers
vendored
|
@ -1,15 +0,0 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
apt install -y dirmngr ca-certificates software-properties-common apt-transport-https dkms curl
|
||||
|
||||
apt autoremove nvidia* --purge
|
||||
|
||||
|
||||
# Installs GPG-Keys
|
||||
curl -fSsL https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/3bf863cc.pub | sudo gpg --dearmor | sudo tee /usr/share/keyrings/nvidia-drivers.gpg > /dev/null 2>&1
|
||||
|
||||
# Installs Nvidia Repository
|
||||
echo 'deb [signed-by=/usr/share/keyrings/nvidia-drivers.gpg] https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/ /' | sudo tee /etc/apt/sources.list.d/nvidia-drivers.list
|
||||
|
||||
# Installs Nvidia Drivers
|
||||
apt update && apt install nvidia-driver nvidia-smi nvidia-settings
|
Loading…
Add table
Add a link
Reference in a new issue