Setup guide for Linux
This guide will prepare your machine for local development with the SpatialOS SDK.
Note: You need to have access to SpatialOS to download the SDK.
1. System requirements
Before following the setup guide check that your machine meets the hardware requirements.
2. Set up the SpatialOS CLI
To set up the SpatialOS CLI (
spatialfor Linux (64bit): Download.
spatial, you agree to the SpatialOS EULA.
spatialin a directory.
binin your home directory:
mkdir -p $HOME/bin && mv $HOME/Downloads/spatial $HOME/bin.
Add the directory to your
spatialis executable: run
chmod +x <path_to_spatial_here>.
Check this succeeded by running
spatial updatein your terminal. You should get the output:
Current version of the 'spatial' command-line tool: <version number>
Attempting to download the latest version...
3. Set up Unity (optional, unsupported)
Install Unity version 2017.3.0:
- Go to the experimental Unity build for 2017.3.0.
- Download the installer of your choice.
- Run the installer.
Install Unity into the directory
spatial worker buildexpects to find Unity in this directory.
Set the environment variable
Launch Unity and complete the registration process.
You’ve now set up your experimental Linux development environment with SpatialOS!