macOS
brew install aspcudlocal Homebrew formula metadata
sudo port install aspcudMacPorts ports tree · devel/aspcud/Portfile · source: api.github.com
brew
Package dependency solver. Version 1.9.6 via Homebrew; verified 2026-06-22.
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 | cli | global executable | |
cudf2lp | cli | global executable |
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.
https://github.com/potassco/aspcud
install metadata
| Package key | brew:aspcud |
|---|---|
| Version | 1.9.6 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/aspcud |
| Homepage | https://potassco.org/aspcud/ |
| Repository | https://github.com/potassco/aspcud |
| Upstream docs | https://github.com/potassco/aspcud#readme |
| License | MIT |
| Source archive | https://github.com/potassco/aspcud/archive/refs/tags/v1.9.6.tar.gz |
| Last updated | 2026-06-22T14:02:46-07:00 |
| Pulse | updated |
| Dependencies | clingo |
| Build dependencies | boost, cmake, re2c |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | aspcud |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
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.