|
@@ -1,15 +1,16 @@
|
|
|
#!/bin/bash
|
|
|
if [ ! -f /home/wareck/.cuda_install ]
|
|
|
then
|
|
|
-if [ ! -f cuda_12.2.2_535.104.05_linux.run ]
|
|
|
+if [ ! -f cuda_12.3.0_545.23.06_linux.run ]
|
|
|
then
|
|
|
-megadown https://mega.nz/file/u9h1wbYL#QuHtEpCErWXDFjjMVFTK9QzcAI5SrsgTMbx6DfFJT2k
|
|
|
+wget https://developer.download.nvidia.com/compute/cuda/12.3.0/local_installers/cuda_12.3.0_545.23.06_linux.run
|
|
|
fi
|
|
|
-chmod +x cuda_12.2.2_535.104.05_linux.run
|
|
|
+chmod +x cuda_12.3.0_545.23.06_linux.run
|
|
|
sudo service lightdm stop
|
|
|
touch /home/wareck/.cuda_install
|
|
|
sudo init 3
|
|
|
fi
|
|
|
+echo "Updating ..."
|
|
|
sudo rm /tmp/.X1-lock
|
|
|
-sudo ./cuda_12.2.2_535.104.05_linux.run --silent --driver
|
|
|
+sudo ./cuda_12.3.0_545.23.06_linux.run --silent --driver
|
|
|
sudo rm /home/wareck/.cuda_install
|