Automic VaultAutomic Vault

brew

Install aspcud with Homebrew, apk, apt, MacPorts, Nix

Package dependency solver. Version 1.9.6 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install aspcud

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install aspcud

MacPorts ports tree · devel/aspcud/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add aspcud

Alpine Linux edge package indexes · aspcud · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install aspcud

Debian stable package indexes · aspcud · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#aspcud

nixpkgs package indexes · pkgs/by-name/as/aspcud/package.nix · source: api.github.com

overview

Package summary

Package dependency solver

Commands and aliases

  • aspcud
  • cudf2lp

history

Project history and usage

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.

Project history

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++.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 1.8.0: First official release.
  • 1.9.0: Adds selectors and criteria support, Debian manpage, install target, macOS build support, MinGW compilation, stream reading, and a small C driver.
  • 1.9.1: Adjusts encodings for gringo 4.5 compatibility and updates the manpage.
  • 1.9.3: Moves to GitHub, switches to MIT license, adopts Boost program options, and updates CMake requirements.
  • 1.9.4: Refactors the aspcud application to C++ for maintenance.
  • 1.9.5-1.9.6: Updates dependencies and Boost compatibility.

Related projects

  • Potassco `clasp` and `clingo` are required solver/grounder components in the README.
  • Mancoosi CUDF specifications, criteria, and benchmark instances are the format and workload context for aspcud.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
aspcudcliglobal executable
cudf2lpcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.9.6
manager updated2026-06-22
local dataok
upstreamcurrent
latest detectedv1.9.6

https://github.com/potassco/aspcud

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:aspcud
Version1.9.6
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/aspcud
Homepagehttps://potassco.org/aspcud/
Repositoryhttps://github.com/potassco/aspcud
Upstream docshttps://github.com/potassco/aspcud#readme
LicenseMIT
Source archivehttps://github.com/potassco/aspcud/archive/refs/tags/v1.9.6.tar.gz
Last updated2026-06-22T14:02:46-07:00
Pulseupdated
Dependenciesclingo
Build dependenciesboost, cmake, re2c
Bottleavailable (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-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameaspcud
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

aspcud 1:1.9.6-2

CUDF solver based on Answer Set Programming

https://potassco.org/aspcud/

sudo apt install aspcud
  • Section: admin
  • Architecture: amd64
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Aspcud
Debian stable package indexes · deb.debian.org · Debian stable package indexes: aspcud from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

aspcud

nix profile install nixpkgs#aspcud
  • normalized package name match
  • Matched by: Aspcud
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/as/aspcud/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

aspcud 1:1.9.6-2

CUDF solver based on Answer Set Programming

https://potassco.org/aspcud/

sudo apt install aspcud
  • Section: universe/admin
  • Architecture: amd64
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Aspcud
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: aspcud from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

aspcud 1.9.6-r10

Package dependency solver

https://potassco.org/aspcud/

sudo apk add aspcud
  • License: MIT
  • Architecture: x86_64
  • Source Package: aspcud
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Aspcud
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: aspcud from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

aspcud-doc 1.9.6-r10

Package dependency solver (documentation)

https://potassco.org/aspcud/

sudo apk add aspcud-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: aspcud
  • normalized package name match
  • Matched by: Aspcud
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: aspcud-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
MacPorts95%

aspcud

sudo port install aspcud
  • normalized package name match
  • Matched by: Aspcud
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/aspcud/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment