Gecode: Download

Gecode 6.4.0 has been released on 15 July 2026 (Release). Gecode is distributed under the MIT license. See our license information page for details. If you find any bugs, please report them using the Gecode issue page on GitHub.

After unpacking the source archive, configure and build Gecode with CMake:

cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build

You can then install it using the standard CMake install step:

cmake --install build

Gecode comes with an interpreter for the FlatZinc language (see our FlatZinc page for details).

Source Packages (Version 6.4.0)

Gecode 6.4.0 is distributed as source code. We do not publish pre-built Windows or Mac packages for this release. The source archive is generated from the release-6.4.0 tag.

Source Code on GitHub

The Gecode source code is also available via our GitHub repository. The released version (currently 6.4.0) is available as the release-6.4.0 tag:

https://github.com/Gecode/gecode/tree/release-6.4.0

To get started, check out the current release using the command

git clone --branch release-6.4.0 --depth 1 https://github.com/Gecode/gecode.git

You can also try out the cutting-edge development version of Gecode. Please note, however, that this version reflects work in progress, so there may be bugs. It even may not compile at all. So, for the curious and venturous, try the main branch:

git clone --branch main https://github.com/Gecode/gecode.git

Previous Versions

Previous versions of Gecode can be found on GitHub. Older releases may include binary packages for Windows and Mac.