How to make a file executable

Linux and Mac installations

SPX Team

Last Update 18 dagen geleden

The issue

When a prebuilt binary version of SPX is downloaded and extracted to the target, installation directory, it is likely the Linux or Mac operating system does not recognize SPX program as an "executable" file.


On Mac, the file may open in a Text editor once double-clicked.


This issue is not present on the Windows operating system nor the source code version of SPX on any supported operating system.

The fix

Mac and Linux operating systems both have chmod -command available.  (See https://www.tutorialspoint.com/unix_commands/chmod.htm for more info.)


On Linux:

  1. Open a shell console
  2. Navigate to your SPX directory with cd command, such as
    cd /myApps/spxgc/
  3. Add the executable permission to the SPX program file with
    sudo chmod +x SPX_linux64
  4. Run the application with
    ./SPX_linux64


On a Mac:

  1. Open Terminal
  2. Navigate to your SPX directory with cd command, such as
    cd /myApps/spxgc/
  3. Add the executable permission to the SPX program file with
    sudo chmod +x SPX_macos64
  4. Run the application from the Terminal with
    ./SPX_macos64


Please note: on a Mac there is another issue to take care of. Read KB article: Files generated to a wrong folder on a Mac

Was this article helpful?

1 out of 1 liked this article

Still need help? Message Us