I tried to install XAMPP onto my Ubuntu 16.04 LTS machine I tried the latest version I could see. The first time that I downloaded it from https://www.apachefriends.org/download.html the file was not run-able and was treated as a text file by my computer, so I went to SorceForge and when I downloaded the file it was seen correctly by my computer but when I tried to execute the file through the command line I got an error about an unterminated quoted string. I tried to look in the code to edit the error, but the code looked like random numbers and symbols (I guess that's from sha1).
This is what the code looked like
sudo chmod 755 xampp-linux-x64-7.2.12-0-installer.run
sudo ./xampp-linux-x64-7.2.12-0-installer.run
./xampp-linux-x64-7.2.12-0-installer.run: 1: ./xampp-linux-x64-7.2.12-0-installer.run: Syntax error: Unterminated quoted string