Skip to content

Instantly share code, notes, and snippets.

@DPS0340
Last active October 6, 2022 11:52
Show Gist options
  • Save DPS0340/ee30db833a9845814446bce584a41ac1 to your computer and use it in GitHub Desktop.
Save DPS0340/ee30db833a9845814446bce584a41ac1 to your computer and use it in GitHub Desktop.
#!/bin/bash
apt update -y
apt install -y sudo curl
curl -s -L https://nvidia.github.io/nvidia-container-runtime/gpgkey | \
sudo apt-key add -
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-container-runtime/$distribution/nvidia-container-runtime.list | \
sudo tee /etc/apt/sources.list.d/nvidia-container-runtime.list
apt update -y
apt install -y nvidia-utils-515
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment