# Install gambit-scheme with Homebrew, apt, dnf

Implementation of the Scheme Language. Version 4.9.7 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:gambit-scheme
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gambit-scheme
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install python-six-doc
```

  Evidence: Debian stable package indexes: python-six-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install six
```

  Evidence: Fedora Rawhide package metadata: six from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

## Package facts

- **Package key:** brew:gambit-scheme
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gambit-scheme>
- **Version:** 4.9.7
- **Source summary:** Implementation of the Scheme Language
- **Homepage:** <https://gambitscheme.org/>
- **Repository:** <https://github.com/gambit/gambit>
- **Upstream docs:** <https://gambitscheme.org/4.9.7/manual>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/gambit/gambit/archive/refs/tags/v4.9.7.tar.gz>
- **Last updated:** 2026-06-22T14:03:24-07:00
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- gambdoc (cli)
- gambuild-C (cli)
- gambuild-arm (cli)
- gambuild-java (cli)
- gambuild-js (cli)
- gambuild-php (cli)
- gambuild-python (cli)
- gambuild-riscv-32 (cli)
- gambuild-riscv-64 (cli)
- gambuild-ruby (cli)
- gambuild-x86 (cli)
- gambuild-x86-64 (cli)
- gambvcs (cli)
- gsc-script (cli)
- gsi (cli)
- gsi-script (cli)
- scheme-ieee-1178-1990 (cli)
- scheme-r4rs (cli)
- scheme-r5rs (cli)
- scheme-srfi-0 (cli)
- six (cli)
- six-script (cli)
- gambdoc (alias)
- gambuild-C (alias)
- gambuild-arm (alias)
- gambuild-java (alias)
- gambuild-js (alias)
- gambuild-php (alias)
- gambuild-python (alias)
- gambuild-riscv-32 (alias)
- gambuild-riscv-64 (alias)
- gambuild-ruby (alias)
- gambuild-x86 (alias)
- gambuild-x86-64 (alias)
- gambvcs (alias)
- gsc-script (alias)
- gsi (alias)
- gsi-script (alias)
- scheme-ieee-1178-1990 (alias)
- scheme-r4rs (alias)
- scheme-r5rs (alias)
- scheme-srfi-0 (alias)
- six (alias)
- six-script (alias)

## Dependencies

- gcc
- openssl@3

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 4.9.7
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/gambit/gambit
- Upstream latest detected: v4.9.7 (current)
## Project history and usage

Gambit Scheme is a long-running implementation of Scheme that combines an interactive interpreter, gsi, with a compiler, gsc, able to translate Scheme programs to portable C and JavaScript.

### Project history

The official site describes Gambit as first released in 1988 and as integrating decades of programming language research. Its manual documents conformance to the R4RS, R5RS, R7RS, and IEEE Scheme standards, with most of the implementation written in Scheme and compiled to portable C.

Gambit's release archive spans the 1990s through the 2020s, including 1.x, 2.x, 3.0, and the long-running 4.x series. The project moved public development to GitHub, where the README directs users to build gsi and gsc from source and points to the official website for releases and documentation.

### Adoption history

Gambit has been adopted most visibly in the Scheme and programming-language-research communities, where it is valued for performance, portability, threads, continuations, and its use as a platform for compiler research. The project maintains a mailing list, Gitter chat, GitHub issues, and a GitHub wiki for users and contributors.

The input package facts show Gambit Scheme packaged by Homebrew, while the executable list reflects its role as both an installed language runtime and a compiler toolchain, with gsi/gsc scripts and target-specific build helpers.

### How it is used

Users run gsi for interactive development and scripting, and gsc to compile Scheme programs. The manual documents installation layouts, runtime options, debugging, modules, threads, foreign interfaces, and generated-code portability through C and JavaScript targets.

### Why package nerds care

Gambit is significant to package and language-runtime enthusiasts because it is both an old Scheme implementation and a portable compiler toolchain. It demonstrates the classic Lisp-family distribution problem: a runtime, compiler, generated C code, headers, libraries, and multiple installed versions that packages must place coherently on Unix, macOS, and Windows.

### Timeline

- 1988: First public release, according to the official homepage.
- 1990s: 1.x, 2.x, and 3.0 releases listed in the official release archive.
- 2000s: Gambit 4.x became the main release line.
- 2012: GitHub repository created.
- 2025: Manual generated for Gambit v4.9.7.
- 2026: Official homepage still describes active use and development.

### Related projects

- Scheme standards R4RS, R5RS, R7RS, and IEEE Scheme define much of the language surface Gambit implements.
- SRFI libraries are documented in the project README as part of the provided ecosystem.
- Termite Scheme and Gambit JavaScript/Python interop research appear in the official research record.

### Sources

- <https://gambitscheme.org/>
- <https://gambitscheme.org/4.9.7/manual/>
- <https://gambitscheme.org/community/>
- <https://gambitscheme.org/dev/>
- <https://gambitscheme.org/releases/>
- <https://gambitscheme.org/research/>
- <https://github.com/gambit/gambit>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gambit-scheme
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** gerbil-scheme, ghostscript, scheme48
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - python-six-doc - 1.17.0-1: installed executable or alias match | Debian stable package indexes: python-six-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python 2 and 3 compatibility library (documentation) | https://github.com/benjaminp/six
- Debian apt - python3-six - 1.17.0-1: installed executable or alias match | Debian stable package indexes: python3-six from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python 2 and 3 compatibility library | https://github.com/benjaminp/six
- Ubuntu apt - python-six-doc - 1.16.0-4: installed executable or alias match | Ubuntu 24.04 LTS package indexes: python-six-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Python 2 and 3 compatibility library (documentation) | https://github.com/benjaminp/six
- Ubuntu apt - python3-six - 1.16.0-4: installed executable or alias match | Ubuntu 24.04 LTS package indexes: python3-six from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Python 2 and 3 compatibility library | https://github.com/benjaminp/six
- dnf - six - 0.5.3-47.fc43: installed executable or alias match | Fedora Rawhide package metadata: six from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Hex playing program | http://six.retes.hu/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [gcc](https://www.automicvault.com/pkg/brew/gcc/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [chezscheme](https://www.automicvault.com/pkg/brew/chezscheme/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language, scheme.
- [chicken](https://www.automicvault.com/pkg/brew/chicken/) - Shares av.db curated category or tags: cli, compiler, interpreter, language-runtime, scheme.
- [gauche](https://www.automicvault.com/pkg/brew/gauche/) - Shares av.db curated category or tags: cli, interpreter, language-runtime, programming-language, scheme.
- [gerbil-scheme](https://www.automicvault.com/pkg/brew/gerbil-scheme/) - Shares av.db curated category or tags: cli, compiler, interpreter, language-runtime, scheme.
- [kawa](https://www.automicvault.com/pkg/brew/kawa/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language, scheme.
- [mit-scheme](https://www.automicvault.com/pkg/brew/mit-scheme/) - Shares av.db curated category or tags: cli, compiler, interpreter, language-runtime, scheme.
- [sagittarius-scheme](https://www.automicvault.com/pkg/brew/sagittarius-scheme/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language, scheme.
- [bigloo](https://www.automicvault.com/pkg/brew/bigloo/) - Shares av.db curated category or tags: cli, compiler, language-runtime, scheme.

## Combined YAML source

View the package source record on GitHub. [combined/gambit-scheme.yml](https://github.com/automic-vault/db/blob/main/combined/gambit-scheme.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
