macOS
brew install aspcudlocal Homebrew formula metadata
sudo port install aspcudMacPorts ports tree · devel/aspcud/Portfile · 来源: api.github.com
安装
brew install aspcudlocal Homebrew formula metadata
sudo port install aspcudMacPorts ports tree · devel/aspcud/Portfile · 来源: api.github.com
sudo apk add aspcudAlpine Linux edge package indexes · aspcud · 来源: dl-cdn.alpinelinux.org
sudo apt install aspcudDebian stable package indexes · aspcud · 来源: deb.debian.org
nix profile install nixpkgs#aspcudnixpkgs package indexes · pkgs/by-name/as/aspcud/package.nix · 来源: api.github.com
概览
Package dependency solver
历史
aspcud is a package dependency solver for CUDF package problems, using answer set programming to translate package constraints into facts and solve them through Potassco tooling. It is a specialized but important package-manager component: a solver binary intended to be called by higher-level package tools.
The official README describes two pieces: `cudf2lp`, which translates a CUDF specification into facts, and the small `aspcud` program, which invokes the required ASP grounder and solver and prints the result in CUDF format. The project is part of the Potassco ecosystem and depends on `clasp` and `gringo` or related Potassco solver tools.
The project ChangeLog records aspcud 1.8.0 as the first official release. Version 1.9.0 added package-solver criteria support, installation targets, a Debian manpage, stream reading, macOS build support, MinGW compilation, and replaced a bash/Python wrapper with a small C program. Later 1.9.x releases moved the project to GitHub, switched to the MIT license, adopted Boost program options, and eventually refactored the application to C++.
The Homebrew input records aspcud in apk, Homebrew, Debian, MacPorts, Nix, and Ubuntu. That adoption follows from its role in package-management research and CUDF/Mancoosi workflows rather than general interactive use.
Because aspcud consumes CUDF and emits CUDF, it can be slotted behind package managers or benchmark harnesses that speak the common upgradeability-description format. The README points to Mancoosi CUDF specifications, criteria, and problem instances as the surrounding ecosystem.
The canonical command is `aspcud problem.cudf solution.cudf <criteria>`. A user supplies a CUDF problem and optimization criteria, while aspcud coordinates conversion, grounding, solving, and CUDF-format output.
The README notes that either `misc2012.lp` or `specification.lp` encodings can be selected with `-e`; the former typically handles harder problems, while the latter can be faster on simpler instances.
aspcud is package-manager machinery made visible as a Unix package. It matters to distribution people because it isolates dependency solving from the front-end package manager and tests solver behavior against CUDF problem sets.
It also shows the crossover between declarative logic programming and package management: package installability and upgrade criteria become ASP facts and optimization problems rather than imperative resolver code.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
aspcud | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
cudf2lp | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:aspcud |
|---|---|
| 版本 | 1.9.6 |
| 软件包管理器 | Homebrew |
| 主页 | https://potassco.org/aspcud/ |
| 仓库 | https://github.com/potassco/aspcud |
| 最后更新 | 2026-06-22T14:02:46-07:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
aspcud 1:1.9.6-2
CUDF solver based on Answer Set Programming
sudo apt install aspcudaspcud
nix profile install nixpkgs#aspcudaspcud 1:1.9.6-2
CUDF solver based on Answer Set Programming
sudo apt install aspcudaspcud 1.9.6-r10
Package dependency solver
sudo apk add aspcudaspcud-doc 1.9.6-r10
Package dependency solver (documentation)
sudo apk add aspcud-docaspcud
sudo port install aspcud来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.