macOS
brew install aspcudlocal Homebrew formula metadata
sudo port install aspcudMacPorts ports tree · devel/aspcud/Portfile · source: api.github.com
brew / rank 7846
Package dependency solver. Version 1.9.6 via Homebrew; verified 2026-06-22. Also installable with debian: sudo apt install aspcud.
install
brew install aspcudlocal Homebrew formula metadata
sudo port install aspcudMacPorts ports tree · devel/aspcud/Portfile · source: api.github.com
sudo apk add aspcudAlpine Linux edge package indexes · aspcud · source: dl-cdn.alpinelinux.org
sudo apt install aspcudDebian stable package indexes · aspcud · source: deb.debian.org
nix profile install nixpkgs#aspcudnixpkgs package indexes · pkgs/by-name/as/aspcud/package.nix · source: api.github.com
overview
Package dependency solver
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
aspcud | executable | indexed executable | Discovered from the local executable index. |
cudf2lp | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:aspcud |
|---|---|
| Version | 1.9.6 |
| Package manager | Homebrew |
| Homepage | https://potassco.org/aspcud/ |
| Repository | https://github.com/potassco/aspcud |
| Last updated | 2026-06-22T14:02:46-07:00 |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 aspcudsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.