.. _install: Install =================== Users installing Gambit have several options depending on their needs and their operating system. We recommended most new users install the PyGambit package and read the :ref:`PyGambit documentation `. Developers & contributors should refer to the :ref:`developer docs ` which contain guides for building Gambit from source and contributing to the project. Installing PyGambit ------------------- PyGambit is available on `PyPI `_. We recommend installing it into a Python virtual environment via `pip`:: pip install pygambit To install a specific older version:: pip install pygambit==X.Y.Z .. _releases: Releases -------- The current stable release of Gambit is |release|. .. dropdown:: Install on Windows :class-container: sd-border-0 1. **Download the installer:** Download the `.msi` for Gambit |release| from the |release_link|. 2. **Run the installer:** Double-click the downloaded `.msi` file and follow the on-screen instructions to complete the installation. .. _install-cli-gui: .. dropdown:: Install on macOS with disk image :class-container: sd-border-0 1. **Download the .dmg installer:** Download the `.dmg` for Gambit |release| from the |release_link|. 2. **Install the application:** Double-click the `.dmg` file to mount it, then drag the Gambit application to your Applications folder. .. dropdown:: Install on macOS via Homebrew :class-container: sd-border-0 1. Check that you have Homebrew installed by running `brew --version`. If not, follow the instructions at `https://brew.sh/ `_. 2. Install Gambit using Homebrew: .. code-block:: bash brew install gambit .. warning:: Homebrew installation has not been set up or tested by the Gambit development team. .. dropdown:: Install on Linux or macOS from source tarball :class-container: sd-border-0 1. **Download the source tarball:** Download the source tarball for Gambit |release| from the |release_link|. 2. **Extract the tarball:** Once downloaded, extract the tarball using the following command: .. code-block:: bash tar -xzf gambit-|release|.tar.gz 3. **Build and install Gambit:** Navigate to the extracted directory and run: .. code-block:: bash ./configure make sudo make install .. note:: Command-line options are available to modify the configuration process; do `./configure --help` for information. Of these, the option which may be most useful is to disable the build of the graphical interface. By default Gambit will be installed in /usr/local. You can change this by replacing configure step with one of the form :: `./configure --prefix=/your/path/here` All past releases are available on the `GitHub releases page `__. Changelog --------- .. include:: ../ChangeLog :parser: myst_parser.sphinx_