Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, MacPorts, Nix 安装 aspcud

查看 aspcud 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install aspcud

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install aspcud

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add aspcud

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

Debian apt已验证 · 92%
sudo apt install aspcud

Debian stable package indexes · aspcud · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#aspcud

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

概览

软件包摘要

Package dependency solver

命令和别名

  • aspcud
  • cudf2lp

历史

项目历史与用法

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.

时间线

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

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
aspcudcli全局可执行文件
cudf2lpcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本1.9.6
管理器更新时间2026-06-22
本地数据OK
上游当前
检测到的最新版本v1.9.6

https://github.com/potassco/aspcud

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:aspcud
版本1.9.6
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/aspcud
主页https://potassco.org/aspcud/
仓库https://github.com/potassco/aspcud
上游文档https://github.com/potassco/aspcud#readme
许可证MIT
源码归档https://github.com/potassco/aspcud/archive/refs/tags/v1.9.6.tar.gz
最后更新2026-06-22T14:02:46-07:00
Pulseupdated
依赖clingo
构建依赖boost, cmake, re2c
Bottle可用 (于 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未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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