I am trying to run a
.run file, I log in as SU and run the following command:
but I am getting the following error:
Syntax error: Unterminated quoted string
What is the cause of this?
The cause is probably an unterminated quoted string in the installer. (well duh!).
Either run it with the -x option to get more debug information, or open the installer in an editor and look for unmatched pairs of quotes.
Notice the missing closing quote (
I just downloaded a file called
Using the file command on it confirms this:
It is not a shell script and the normal way to execute it would either be:
It will work with this way.
I tried to install xampp-linux-x64-1.8.3-2-installer.run and had the same message. None of these answers worked for me because I think this is the x64 bit version and I was trying to install it on a 32bit Linux Mint.
Instead I downloaded xampp-linux-1.8.3-2-installer.run (notice the lack of x64 in the file name) and this one worked. I did the chmod , then sudo ./xampp-linux-1.8.3-2-installer.run and after good few seconds i had the gui installer running.
PS. You'll need to go to sourceforge because apachefriends.org website will give you x64 version as default download.
Looks not a problem with 64-bit OS.
I got same error and 'uname -m' can confirm it (displays x86_64), although I was already sure specifically purchase 64-bit machine.
Looks like while downloading (wget for many hours, very slow mobile Internet), 'xampp-linux-x64-1.8.3-4-installer.run' got corrupted!