Skip to content

Instantly share code, notes, and snippets.

@niko-dunixi
Created December 3, 2020 03:44
Show Gist options
  • Save niko-dunixi/73bb0f15f62e051ccc138e66dd74bbed to your computer and use it in GitHub Desktop.
Save niko-dunixi/73bb0f15f62e051ccc138e66dd74bbed to your computer and use it in GitHub Desktop.
Ubuntu install SHADERed

SHADERed Installation for Ubuntu

$ [ ! -d /opt/SHADERed ] || sudo rm -rf /opt/SHADERed
$ sudo apt-get install -y libsfml-dev
$ cd /tmp
$ zip_url="$(curl https://api.github.com/repos/dfranx/SHADERed/releases | jq '.[0].assets[] | select(.name | contains("Linux.zip")) | .browser_download_url' -r)"
$ curl -JL "${zip_url}" -o shadered-linux.zip
$ unzip shadered-linux.zip
$ sudo mv SHADERed /opt/SHADERed
$ sudo chown -R root:root /opt/SHADERed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment