Skip to content

Commit

Permalink
Merge pull request #1020 from Baw-Appie/patch-2
Browse files Browse the repository at this point in the history
Update install_nvidia_driver.sh for Ubuntu Server
  • Loading branch information
Keukhan authored Feb 13, 2023
2 parents 7963829 + 0e9b89e commit 0d4395d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion misc/install_nvidia_driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ install_base_ubuntu()
# Install Nvidia Driver and Nvidia Toolkit
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt -y update
sudo apt-get install -y ubuntu-drivers-common
sudo apt-get install -y $(ubuntu-drivers devices | grep recommended | awk '{print $3}')
sudo apt-get install -y nvidia-cuda-toolkit curl make

Expand Down Expand Up @@ -229,4 +230,4 @@ install_nvcc_headers

echo "-----------------------------------------------------"
echo " Reboot is required to use the nvidia video driver"
echo "-----------------------------------------------------"
echo "-----------------------------------------------------"

0 comments on commit 0d4395d

Please sign in to comment.