Ubuntu – “Syntax error: Unterminated quoted string” when running xampp installer file

software installationxampp

I want to install XAMPP on my machine. I downloaded the install file from this website and stored it in my default Downloads directory. The site gives instructions on how to install it, then.

I followed these instructions as below:

chmod 755 xampp-linux-x64-5.6.12-0-installer.run

Then:

sudo ./xampp-linux-x64-5.6.12-0-installer.run

I get the following message:

./xampp-linux-x64-5.6.12-0-installer.run: 
1: ./xampp-linux-x64-5.6.12-0-installer.run: 
Syntax error: Unterminated quoted string

The file command returns:

xampp-linux-x64-5.6.12-0-installer.run: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, stripped

I can't find what the problem is… This is quite a basic command, isn't it?

Thanks for help!

Best Answer

Judging by the error you are getting, and found on this site here, the error can occur when you are installing a 64bit version of the program on a 32bit system.

What does the command uname -a return on your system? If you see anything other than x86_64 in that line, then download the 32bit version of the application.

Hope this helps!