wget -c http://downloads.sourceforge.net/project/fretsonfire/fretsonfire/1.3.110/FretsOnFire-1.3.110.tar.gz tar -xzf FretsOnFire-1.3.110.tar.gz cd "Frets on Fire-1.3.110/src" mkdir -p /usr/lib/fretsonfire/FretsOnFire/midi install *.py /usr/lib/fretsonfire/FretsOnFire install midi/*.py /usr/lib/fretsonfire/FretsOnFire/midi cp -r ../data /usr/lib/fretsonfire # Make a launcher echo "#"\!"/bin/sh" > /usr/bin/FretsOnFire echo "cd /usr/lib/fretsonfire/FretsOnFire && ./FretsOnFire.py" >> /usr/bin/FretsOnFire chmod +x /usr/bin/FretsOnFire