Created
September 3, 2017 19:55
-
-
Save kusayuzayushko/4a4332ac9145936ffa39c1b41a00d6d2 to your computer and use it in GitHub Desktop.
install-1730.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "#####################################" | |
echo " updating the distro " | |
sudo apt update -y && sudo apt upgrade -y | |
wget --referer=http://support.amd.com https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.30-465504.tar.xz | |
tar -Jxvf amdgpu-pro-17.30-465504.tar.xz | |
cd amdgpu-pro-17.30-465504/ || "Echo cannot enter directory"; exit | |
echo "######################################" | |
echo " installing driver " | |
sudo ./amdgpu-pro-install -y | |
cd || exit | |
echo "######################################" | |
echo " cleaning up " | |
rm -f amdgpu-pro-17.30-465504.tar.xz | |
rm -rf amdgpu-pro-17.30-465504/ | |
sudo apt clean | |
echo "looks good, now you can reboot your rig" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment