...
tar xf /home/miner/AMD-APP-SDK-v2.8-lnx64.tgz
...
The exact line that the problems occur are:
tar xf /home/miner/AMD-APP-SDK-v2.8-lnx64.tgz
...
You need to use the command this way:
tar -xf /the/full/link/to/your/file.tgz
Make sure you have the correct file location, and make sure you have a dash in front of xf and it should work!