# Building Gambit

## A guide to automatically building Gambit on Unix-like operating systems

This guide will explain how to automatically get Gambit ready for use on your Unix-like operating system. After a few simple manual steps, the majority of the work will be carried out by a script. This includes automatically installing the required software for building Gambit, downloading the Gambit source code (it will be placed in the same directory as the script), and building the source code (this produces the executable software).

Note: if the images below don't exactly match how things look on your system, don't worry, your system should not differ much.

First, you'll have to download the gambit-autobuild.sh script, and save it in a location that you can easily find using the File Manager.

Next, you have to mark the script as being executable:

1. Open the File Manager and browse to the location where you saved the script.

2. Right-click the script, and click Properties.

3. Click the Permissions tab (1).
4. Check the checkbox that reads "Allow executing file as program" (2).

And lastly, you have to execute the script, and follow the instructions on the screen:

1. Double-click the "gambit-autobuild.sh" script.
2. Select "Run" (or "Run in Terminal", it shouldn't matter for this script).

3. Follow the instructions on the screen.