Skip to content

Instantly share code, notes, and snippets.

@whizzzkid
Last active Jun 10, 2017
Embed
What would you like to do?
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

fearphage commented Jun 10, 2017

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

Loading

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