# clingo mit Homebrew, apk, dnf, MacPorts, Nix, zypper, scoop, apt installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für clingo in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:clingo
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install clingo
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install clingo
```

  Evidenz: MacPorts ports tree: math/clingo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add clingo
```

  Evidenz: Alpine Linux edge package indexes: clingo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install clingo
```

  Evidenz: Fedora Rawhide package metadata: clingo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#clingo
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/cl/clingo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install clingo
```

  Evidenz: openSUSE Tumbleweed package metadata: clingo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install clasp
```

  Evidenz: Debian stable package indexes: clasp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

### Windows

- Scoop (92%):

```sh
scoop install extras/clingo
```

  Evidenz: Scoop official bucket manifest trees: bucket/clingo.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:clingo
- **Paketmanager:** Homebrew
- **Version:** 5.8.0
- **Quellzusammenfassung:** ASP system to ground and solve logic programs
- **Homepage:** <https://potassco.org/clingo/>
- **Repository:** <https://github.com/potassco/clingo>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- clasp (Alias)
- clingo (Alias)
- gringo (Alias)
- lpconvert (Alias)
- reify (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 5.8.0
## Projektgeschichte und Nutzung

clingo is Potassco's grounder and solver for Answer Set Programming. The official README says clingo takes a logic program and computes answer sets representing solutions, while the official Potassco page describes it as combining gringo and clasp into a monolithic system.

### Projektgeschichte

clingo grew out of the Potassco toolchain, joining gringo's grounding role with clasp's solving role for logic programs. The 5.x release line in the official changelog emphasizes API stability and growth across C, C++, Python, and Lua bindings, CMake packaging, ASPIF support, propagators, and updates to the embedded clasp solver.

### Adoptionsgeschichte

The official README points users to source and binary releases, installation requirements, the Potassco guide, and an online clingo runner. The batch input lists broad distribution coverage across apk, Homebrew, Debian/Ubuntu via clasp, dnf, MacPorts, Nix, Scoop, and zypper.

### Wie es verwendet wird

Users model combinatorial problems as logic programs and run clingo to ground and solve them. Official resources provide a getting-started guide, online execution, API documentation, release downloads, and executables in the package such as clingo, gringo, clasp, lpconvert, and reify.

### Warum Paket-Nerds sich dafür interessieren

clingo is package-nerd significant because it packages a research-grade declarative programming system as a practical CLI and embeddable library. It is the kind of solver that appears both in academic workflows and in distro package sets, where reproducible versions and language bindings matter.

### Zeitleiste

- 2010s: clingo 5.x tags appear in the official repository, starting with v5.0.0.
- 2020s: Official changelog records 5.2 through 5.8 work on CMake, MIT licensing, APIs, Python wheels, ASPIF, propagators, and clasp updates.
- 2026: Batch input lists clingo or clasp packages across apk, Homebrew, Debian, Ubuntu, dnf, MacPorts, Nix, Scoop, and zypper.

### Related projects

- clingo is directly related to Potassco, gringo, clasp, the Potassco guide, ASPIF tooling, and Answer Set Programming research/software. It also sits near other constraint, SAT, SMT, and logic-programming tools in developer package collections.

### Quellen

- <https://github.com/potassco/clingo#readme>
- <https://potassco.org/clingo>
- <https://potassco.org/doc/start>
- <https://github.com/potassco/clingo/blob/master/CHANGES.md>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

- Nix - clingo: normalized package name match | nixpkgs package indexes: pkgs/by-name/cl/clingo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - clingo - 5.8.0-r2: normalized package name match | Alpine Linux edge package indexes: clingo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Grounder and solver for logic programs | https://potassco.org/clingo/
- apk - clingo-dev - 5.8.0-r2: normalized package name match | Alpine Linux edge package indexes: clingo-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Grounder and solver for logic programs (development files) | https://potassco.org/clingo/
- apk - clingo-libs - 5.8.0-r2: normalized package name match | Alpine Linux edge package indexes: clingo-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Grounder and solver for logic programs (libraries) | https://potassco.org/clingo/
- apk - py3-clingo - 5.8.0-r2: normalized package name match | Alpine Linux edge package indexes: py3-clingo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Python bindings for clingo | https://potassco.org/clingo/
- dnf - clingo - 5.8.0-12.fc45: normalized package name match | Fedora Rawhide package metadata: clingo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A grounder and solver for logic programs | https://potassco.org/clingo/
- dnf - clingo-devel - 5.8.0-12.fc45: normalized package name match | Fedora Rawhide package metadata: clingo-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for clingo | https://potassco.org/clingo/
- dnf - lua-clingo - 5.8.0-12.fc45: normalized package name match | Fedora Rawhide package metadata: lua-clingo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Lua bindings for Clingo | https://potassco.org/clingo/
- dnf - python3-clingo - 5.8.0-12.fc45: normalized package name match | Fedora Rawhide package metadata: python3-clingo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Python 3 bindings for Clingo | https://potassco.org/clingo/
- zypper - clingo - 5.8.0-2.4: normalized package name match | openSUSE Tumbleweed package metadata: clingo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A grounder and solver for logic programs | https://potassco.org/clingo/
- zypper - clingo-devel - 5.8.0-2.4: normalized package name match | openSUSE Tumbleweed package metadata: clingo-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for clingo | https://potassco.org/clingo/
- zypper - libclingo4 - 5.8.0-2.4: normalized package name match | openSUSE Tumbleweed package metadata: libclingo4 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Libraries file(s) for clingo | https://potassco.org/clingo/
- zypper - lua-clingo - 5.8.0-2.4: normalized package name match | openSUSE Tumbleweed package metadata: lua-clingo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Lua bindings for Clingo | https://potassco.org/clingo/
- zypper - python3-clingo - 5.8.0-2.4: normalized package name match | openSUSE Tumbleweed package metadata: python3-clingo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Python 3 bindings for Clingo | https://potassco.org/clingo/
- MacPorts - clingo: normalized package name match | MacPorts ports tree: math/clingo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/clingo: normalized package name match | Scoop official bucket manifest trees: bucket/clingo.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## Combined YAML source

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


## Quellen

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