# gecode を Homebrew, MacPorts, Nix, apt, zypper でインストール

gecode のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:gecode
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install gecode
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gecode
```

  証拠: MacPorts ports tree: devel/gecode/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gecode
```

  証拠: nixpkgs package indexes: pkgs/by-name/ge/gecode/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Debian apt (92%):

```sh
sudo apt install libgecode-dev
```

  証拠: Debian stable package indexes: libgecode-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Ubuntu apt (92%):

```sh
sudo apt install flatzinc
```

  証拠: Ubuntu 24.04 LTS package indexes: flatzinc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

- zypper (92%):

```sh
sudo zypper install gecode-devel
```

  証拠: openSUSE Tumbleweed package metadata: gecode-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:gecode
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/gecode>
- **バージョン:** 6.4.0
- **ソース概要:** Toolkit for developing constraint-based systems and applications
- **ホームページ:** <https://www.gecode.dev/>
- **リポジトリ:** <https://github.com/Gecode/gecode>
- **上流ドキュメント:** <https://www.gecode.dev/>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/Gecode/gecode/archive/refs/tags/release-6.4.0.tar.gz>
- **最終更新:** 2026-07-16T10:35:30Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- fzn-gecode (cli)
- mzn-gecode (cli)
- fzn-gecode (エイリアス)
- mzn-gecode (エイリアス)

## 依存関係

- qtbase

## ビルド依存関係

- uv

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 6.4.0
- マネージャ更新日: 2026-07-16
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/Gecode/gecode
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

Gecode is the Generic Constraint Development Environment, an open source C++ toolkit for developing constraint-based systems and applications.

### プロジェクトの歴史

The official Gecode site presents the project as a modular and extensible C++ constraint solver with support for custom constraints, branching strategies, search engines, and variable domains. Its historical changelog records Gecode 1.0.0 on 2005-12-06.

### 採用の歴史

Gecode's official news archive tracks its use in solver and modeling ecosystems: FlatZinc support was announced in 2007, repeated MiniZinc Challenge wins were reported from 2008 through 2012, Homebrew availability was announced in 2011, and SAP adoption for advanced variant configuration was reported in 2018.

### 使われ方

Developers use Gecode as a C++ toolkit and through command-line front ends such as FlatZinc and MiniZinc-related tooling. The official documentation emphasizes tutorial and reference material for modeling, search, installation, linking, and platform-specific builds.

### パッケージ好きにとっての重要性

Gecode is significant in package collections because it is both a library and a solver executable dependency for constraint-programming workflows, especially MiniZinc and FlatZinc users who care about solver availability, ABI compatibility, and platform packaging.

### タイムライン

- 2005: Gecode 1.0.0 released.
- 2007: FlatZinc for Gecode 1.0 released.
- 2008-2012: Gecode won MiniZinc Challenge gold medals across multiple years.
- 2011: Gecode became installable on Mac OS via Homebrew.
- 2018: SAP use of Gecode for advanced variant configuration was reported.
- 2019: Gecode 6.2.0 released.

### Related projects

- MiniZinc, FlatZinc, AMPL, ECLiPSe, YAP Prolog, and SAP advanced variant configuration are named in Gecode's official site or news archive as related interfaces, uses, or integrations.

### ソース

- <https://www.gecode.dev/>
- <https://www.gecode.dev/doc/2.2.0/reference/PageChange.html>
- <https://www.gecode.dev/news.html>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- Debian apt - libgecode-dev - 6.2.0-7: normalized package name match | Debian stable package indexes: libgecode-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | generic constraint development environment | https://www.gecode.org/
- Debian apt - libgecode-doc - 6.2.0-7: normalized package name match | Debian stable package indexes: libgecode-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | generic constraint development environment | https://www.gecode.org/
- Debian apt - libgecode49t64 - 6.2.0-7: normalized package name match | Debian stable package indexes: libgecode49t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | generic constraint development environment | https://www.gecode.org/
- Debian apt - libgecodeflatzinc49t64 - 6.2.0-7: normalized package name match | Debian stable package indexes: libgecodeflatzinc49t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Gecode support for FlatZinc modelling language | http://www.gecode.org/flatzinc.html
- Debian apt - libgecodegist49t64 - 6.2.0-7: normalized package name match | Debian stable package indexes: libgecodegist49t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Gecode Interactive Search Tool library | https://www.gecode.org/
- Nix - gecode: normalized package name match | nixpkgs package indexes: pkgs/by-name/ge/gecode/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - flatzinc - 6.2.0-5.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: flatzinc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | constraint problem modelling language | http://www.gecode.org/flatzinc.html
- Ubuntu apt - libgecode-dev - 6.2.0-5.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgecode-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | generic constraint development environment | http://www.gecode.org/
- Ubuntu apt - libgecode-doc - 6.2.0-5.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgecode-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | generic constraint development environment | http://www.gecode.org/
- Ubuntu apt - libgecode49t64 - 6.2.0-5.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgecode49t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | generic constraint development environment | http://www.gecode.org/
- Ubuntu apt - libgecodeflatzinc49t64 - 6.2.0-5.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgecodeflatzinc49t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Gecode support for FlatZinc modelling language | http://www.gecode.org/flatzinc.html
- Ubuntu apt - libgecodegist49t64 - 6.2.0-5.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgecodegist49t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Gecode Interactive Search Tool library | http://www.gecode.org/
- zypper - gecode-devel - 6.3.0~git20211208.6b09bea4-1.14: normalized package name match | openSUSE Tumbleweed package metadata: gecode-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | C++ toolkit for developing constraint-based systems | https://www.gecode.org/
- zypper - gecode-minizinc - 6.3.0~git20211208.6b09bea4-1.14: normalized package name match | openSUSE Tumbleweed package metadata: gecode-minizinc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Gecode minizinc solver | https://www.gecode.org/
- zypper - libgecode51 - 6.3.0~git20211208.6b09bea4-1.14: normalized package name match | openSUSE Tumbleweed package metadata: libgecode51 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | C++ toolkit for developing constraint-based systems | https://www.gecode.org/
- MacPorts - gecode: normalized package name match | MacPorts ports tree: devel/gecode/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [qtbase](https://pkg.so/ja/brew/qtbase/) - Runtime dependency declared by Homebrew.
- [uv](https://pkg.so/ja/brew/uv/) - Build dependency declared by Homebrew.
- [minizinc](https://pkg.so/ja/brew/minizinc/) - Popular package that depends on this formula.
- [fltk](https://pkg.so/ja/brew/fltk/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools, toolkit.
- [fox](https://pkg.so/ja/brew/fox/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools, toolkit.
- [ccache](https://pkg.so/ja/brew/ccache/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools.
- [gtk+3](https://pkg.so/ja/brew/gtk-3/) - Shares pkgdb curated category or tags: cli, developer-tools, toolkit.
- [qt](https://pkg.so/ja/brew/qt/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools.
- [swig](https://pkg.so/ja/brew/swig/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools.
- [qt@5](https://pkg.so/ja/brew/qt-5/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools.
- [poco](https://pkg.so/ja/brew/poco/) - Local package facts share a topical domain. Shared terms: applications, based, c-plus-plus, cli, developer.
- [brpc](https://pkg.so/ja/brew/brpc/) - Local package facts share a topical domain. Shared terms: c-plus-plus, cli, developer, developer-tools, plus.

## Combined YAML source

View the package source record on GitHub. [combined/gecode.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gecode.yml)


## ソース

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