Skip to content

Instantly share code, notes, and snippets.

@whizzzkid
Last active June 10, 2017 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whizzzkid/d5f9491cd60f09be51920e973a60e401 to your computer and use it in GitHub Desktop.
Save whizzzkid/d5f9491cd60f09be51920e973a60e401 to your computer and use it in GitHub Desktop.
Installs all intel graphics drivers for linux. [This will reboot your machine on completion]
# To install run:
# curl -o- http://bit.ly/igfwl-installer | bash
FW=("kblgucver914.tar.bz2" "kbldmcver101.tar.bz2" "kblhucver02001810.tar.bz2" "sklgucver61.tar.bz2" "skldmcver126.tar.bz2" "sklhucver01071398.tar.bz2" "bxtgucver87.tar.bz2" "bxtdmcver107.tar.bz2" "bxthucver01071398.tar.bz2")
echo "Starting Install..."
cd /tmp
mkdir fw
for i in "${FW[@]}"
do
echo "Downloading "$i
wget "https://01.org/sites/default/files/downloads/intelr-graphics-linux/"$i
tar -xf $i -C fw
rm $i
done
echo "Installing..."
for d in $(find /tmp/fw -maxdepth 1 -type d)
do
#Do something, the directory is accessible with $d:
cd $d
sudo bash install.sh
done
@fearphage
Copy link

Thanks for this. Just a heads up, you can combine lines 12-14 could be combined into one:

wget -O - "https://01.org/sites/default/files/downloads/intelr-graphics-linux/"$i | tar -xjC fw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment