Qt-5.8.0.sh 372 Bytes
Newer Older
Pablo Toharia's avatar
Pablo Toharia committed
1
#!/bin/bash
2 3 4 5
set -e
echo "Please put your sudo pass to create /home/opt"
sudo mkdir -p /home/opt && sudo chmod 777 /home/opt
cd /home/opt
Pablo Toharia's avatar
Pablo Toharia committed
6 7 8
wget http://gmrv.es/~ptoharia/qt/Qt-5.8.0.tgz
tar zxvf Qt-5.8.0.tgz
rm Qt-5.8.0.tgz
9
ln -s ~/opt/modules/modules/Qt-5.8.0 ~/opt/modules/installed/Qt-5.8.0
10
echo "Please add \"module load Qt-5.8.0\" to your .bashrc to load it by default"