Running exported project on linux

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Daniel Schechtman
:warning: Old Version Published before Godot 3 was released.

I downloaded the export templates and installed them into my project. I exported everything as a linux build. When I tried to run the export in a Linux VM, Linux tried to extract the program. I have a shared folder between my host OS and my VM, so I never compressed the program files in the first place. How do I get my project to run?

Update: I gave the file permission to run, when I tried executing it on the terminal, it gave me this error “cannot execute binary file: Exec format error”

did you add execute permission to exported file on linux?

volzhs | 2017-08-16 21:47

:bust_in_silhouette: Reply From: UncleSnail

It seems like your VM is acting like a 32bit OS when the compiled file is meant to be run on a 64bit OS.
I’m not sure, but you could try exporting again in 32bit, or maybe getting another version of Linux. Which are you using? It is worth noting that you would get more accurate results from testing on an actual install. If you have a large enough hard drive you can dual boot a Linux OS with your current OS. Linux is my main OS, but I dual boot with others.

I do have enough space on my computer to duel boot, but I choose to use a vm because testing between os’s is faster. I will try your suggestion.

Daniel Schechtman | 2017-08-19 03:58