macOS
brew install clingolocal Homebrew formula metadata
sudo port install clingoMacPorts ports tree · math/clingo/Portfile · 来源: api.github.com
安装
brew install clingolocal Homebrew formula metadata
sudo port install clingoMacPorts ports tree · math/clingo/Portfile · 来源: api.github.com
sudo apk add clingoAlpine Linux edge package indexes · clingo · 来源: dl-cdn.alpinelinux.org
sudo dnf install clingoFedora Rawhide package metadata · clingo · 来源: dl.fedoraproject.org
nix profile install nixpkgs#clingonixpkgs package indexes · pkgs/by-name/cl/clingo/package.nix · 来源: api.github.com
sudo zypper install clingoopenSUSE Tumbleweed package metadata · clingo · 来源: download.opensuse.org
scoop install extras/clingoScoop official bucket manifest trees · bucket/clingo.json · 来源: api.github.com
概览
ASP system to ground and solve logic programs
历史
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.
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.
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.
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.
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
clasp | cli | 全局可执行文件 | |
clingo | cli | 全局可执行文件 | |
gringo | cli | 全局可执行文件 | |
lpconvert | cli | 全局可执行文件 | |
reify | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/potassco/clingo
安装元数据
| 软件包键 | brew:clingo |
|---|---|
| 版本 | 5.8.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/clingo |
| 主页 | https://potassco.org/clingo/ |
| 仓库 | https://github.com/potassco/clingo |
| 上游文档 | https://potassco.org/clingo |
| 许可证 | MIT |
| 源码归档 | https://github.com/potassco/clingo/archive/refs/tags/v5.8.0.tar.gz |
| 依赖 | cffi, lua, python@3.14 |
| 构建依赖 | cmake, doxygen |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | clingo |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
clingo
nix profile install nixpkgs#clingoclingo 5.8.0-r2
Grounder and solver for logic programs
sudo apk add clingoclingo-dev 5.8.0-r2
Grounder and solver for logic programs (development files)
sudo apk add clingo-devclingo-libs 5.8.0-r2
Grounder and solver for logic programs (libraries)
sudo apk add clingo-libspy3-clingo 5.8.0-r2
Python bindings for clingo
sudo apk add py3-clingoclingo 5.8.0-10.fc45
A grounder and solver for logic programs
sudo dnf install clingoclingo-devel 5.8.0-10.fc45
Development files for clingo
sudo dnf install clingo-devellua-clingo 5.8.0-10.fc45
Lua bindings for Clingo
sudo dnf install lua-clingopython3-clingo 5.8.0-10.fc45
Python 3 bindings for Clingo
sudo dnf install python3-clingoclingo 5.8.0-2.2
A grounder and solver for logic programs
sudo zypper install clingoclingo-devel 5.8.0-2.2
Development files for clingo
sudo zypper install clingo-devellibclingo4 5.8.0-2.2
Libraries file(s) for clingo
sudo zypper install libclingo4lua-clingo 5.8.0-2.2
Lua bindings for Clingo
sudo zypper install lua-clingopython3-clingo 5.8.0-2.2
Python 3 bindings for Clingo
sudo zypper install python3-clingoclingo
sudo port install clingoextras/clingo
scoop install extras/clingo来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.