Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, MacPorts, Nix, pacman, apt, zypper 安装 libsolv

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libsolv

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libsolv

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

Linux

Fedora dnf已验证 · 92%
sudo dnf install libsolv

Fedora Rawhide package metadata · libsolv · 来源: dl.fedoraproject.org

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

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

Arch Linux pacman已验证 · 92%
sudo pacman -S libsolv

Arch Linux sync databases · libsolv · 来源: geo.mirror.pkgbuild.com

Debian apt已验证 · 92%
sudo apt install libsolv-dev

Debian stable package indexes · libsolv-dev · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install libsolv-demo

openSUSE Tumbleweed package metadata · libsolv-demo · 来源: download.opensuse.org

概览

软件包摘要

Library for solving packages and reading repositories

命令和别名

  • appdata2solv
  • archpkgs2solv
  • archrepo2solv
  • comps2solv
  • conda2solv
  • deb2solv
  • deltainfoxml2solv
  • dumpsolv
  • helix2solv
  • installcheck
  • mdk2solv
  • mergesolv
  • repo2solv
  • repomdxml2solv
  • rpmdb2solv
  • rpmmd2solv
  • rpms2solv
  • susetags2solv
  • testsolv
  • updateinfoxml2solv

历史

项目历史与用法

libsolv is openSUSE's package dependency solver and repository metadata library built around a SAT-solving model. It matters to package-manager culture because it turned dependency resolution into a reusable library with compact repository storage, solver introspection, and support for multiple package formats.

项目历史

The libsolv history page says the project started in May 2007 when the zypp team considered database-backed installation speedups. Michael Schroeder instead pursued compact dictionary storage for package strings and relations, creating the solv repository format.

During SUSE Hack Week at the end of June 2007, Schroeder adapted ideas from MiniSAT for package dependency solving. By October 2007 the solver was being integrated into libzypp, and in January 2008 the new solver became the default for libzypp.

采用历史

libsolv began inside the openSUSE/libzypp/YaST world, but its format readers made it useful beyond RPM repositories. The GitHub README lists support for rpm/rpm5, deb, Arch Linux, Haiku, and apk packages, plus repository formats such as rpmmd, susetags, Mandriva/Mageia synthesis, Arch repositories, and apk indexes.

使用方式

The package ships a library plus many conversion and inspection tools such as rpmdb2solv, repomdxml2solv, archrepo2solv, deb2solv, dumpsolv, mergesolv, installcheck, and testsolv. Packagers use it to transform repository metadata into solv files and to test dependency closure or upgrade behavior.

为什么软件包爱好者会关心

libsolv is one of the clearest examples of SAT solving escaping theory and becoming normal package-manager plumbing. It is interesting to package nerds because it exposes dependency conflicts, weak dependencies, repository storage, and multi-format metadata as inspectable artifacts rather than opaque package-manager behavior.

时间线

  • 2007-05: Project work began after zypp installation-speed discussions.
  • 2007-06: SUSE Hack Week produced the first SAT-based solver results.
  • 2007-10: Integration into libzypp started.
  • 2008-01: The SAT solver became the default libzypp solver.
  • 2014-07-08: GitHub tag 0.6.4 points to a version-bump commit in the openSUSE/libsolv repository.

Related projects

  • libzypp and YaST were the original integration points.
  • MiniSAT influenced the solver design described in the project history.
  • RPM, Debian package metadata, Arch repositories, and apk indexes are related ecosystems supported by libsolv readers.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
appdata2solvcli全局可执行文件
archpkgs2solvcli全局可执行文件
archrepo2solvcli全局可执行文件
comps2solvcli全局可执行文件
conda2solvcli全局可执行文件
deb2solvcli全局可执行文件
deltainfoxml2solvcli全局可执行文件
dumpsolvcli全局可执行文件
helix2solvcli全局可执行文件
installcheckcli全局可执行文件
mdk2solvcli全局可执行文件
mergesolvcli全局可执行文件
repo2solvcli全局可执行文件
repomdxml2solvcli全局可执行文件
rpmdb2solvcli全局可执行文件
rpmmd2solvcli全局可执行文件
rpms2solvcli全局可执行文件
susetags2solvcli全局可执行文件
testsolvcli全局可执行文件
updateinfoxml2solvcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本0.7.39
管理器更新时间2026-05-28
本地数据OK
上游当前
检测到的最新版本0.7.39

https://github.com/openSUSE/libsolv

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

安装元数据

软件包元数据

软件包键brew:libsolv
版本0.7.39
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libsolv
主页https://github.com/openSUSE/libsolv
仓库https://github.com/openSUSE/libsolv
上游文档https://github.com/openSUSE/libsolv#readme
许可证BSD-3-Clause
源码归档https://github.com/openSUSE/libsolv/archive/refs/tags/0.7.39.tar.gz
最后更新2026-05-28T12:56:01Z
Pulseupdated
依赖rpm, xz, zstd
构建依赖cmake
macOS 提供的库bzip2, expat
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

libsolv-dev 0.7.32-1

dependency solver using a satisfiability algorithm (development files)

https://github.com/openSUSE/libsolv

sudo apt install libsolv-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libsolv
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libsolv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsolv-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsolv-doc 0.7.32-1

dependency solver using a satisfiablility algorithm (documentation files)

https://github.com/openSUSE/libsolv

sudo apt install libsolv-doc
  • Section: doc
  • Architecture: all
  • Source Package: libsolv
  • normalized package name match
  • 匹配方式:Libsolv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsolv-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsolv-perl 0.7.32-1

dependency solver using a satisfiability algorithm (Perl bindings)

https://github.com/openSUSE/libsolv

sudo apt install libsolv-perl
  • Section: perl
  • Architecture: amd64
  • Source Package: libsolv
  • 5 依赖
  • normalized package name match
  • 匹配方式:Libsolv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsolv-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsolv-tools 0.7.32-1

dependency solver using a satisfiability algorithm (command-line tools)

https://github.com/openSUSE/libsolv

sudo apt install libsolv-tools
  • Section: admin
  • Architecture: amd64
  • Source Package: libsolv
  • 4 依赖
  • normalized package name match
  • 匹配方式:Libsolv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsolv-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsolv1 0.7.32-1

dependency solver using a satisfiability algorithm (shared library)

https://github.com/openSUSE/libsolv

sudo apt install libsolv1
  • Section: libs
  • Architecture: amd64
  • Source Package: libsolv
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libsolv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsolv1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsolvext-dev 0.7.32-1

dependency solver using a satisfiability algorithm (ext development files)

https://github.com/openSUSE/libsolv

sudo apt install libsolvext-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libsolv
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libsolv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsolvext-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsolvext1 0.7.32-1

dependency solver using a satisfiability algorithm (extensions)

https://github.com/openSUSE/libsolv

sudo apt install libsolvext1
  • Section: libs
  • Architecture: amd64
  • Source Package: libsolv
  • 9 依赖
  • normalized package name match
  • 匹配方式:Libsolv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsolvext1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-solv 0.7.32-1

dependency solver using a satisfiability algorithm (Python3 bindings)

https://github.com/openSUSE/libsolv

sudo apt install python3-solv
  • Section: python
  • Architecture: amd64
  • Source Package: libsolv
  • 4 依赖
  • normalized package name match
  • 匹配方式:Libsolv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-solv from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libsolv

nix profile install nixpkgs#libsolv
  • normalized package name match
  • 匹配方式:Libsolv
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libsolv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libsolv-dev 0.7.28-1build2

dependency solver using a satisfiability algorithm (development files)

https://github.com/openSUSE/libsolv

sudo apt install libsolv-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: libsolv
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libsolv
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsolv-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libsolv-doc 0.7.28-1build2

dependency solver using a satisfiablility algorithm (documentation files)

https://github.com/openSUSE/libsolv

sudo apt install libsolv-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: libsolv
  • normalized package name match
  • 匹配方式:Libsolv
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsolv-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libsolv-perl 0.7.28-1build2

dependency solver using a satisfiability algorithm (Perl bindings)

https://github.com/openSUSE/libsolv

sudo apt install libsolv-perl
  • Section: universe/perl
  • Architecture: amd64
  • Source Package: libsolv
  • 5 依赖
  • normalized package name match
  • 匹配方式:Libsolv
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsolv-perl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libsolv-tools 0.7.28-1build2

dependency solver using a satisfiability algorithm (command-line tools)

https://github.com/openSUSE/libsolv

sudo apt install libsolv-tools
  • Section: universe/admin
  • Architecture: amd64
  • Source Package: libsolv
  • 4 依赖
  • normalized package name match
  • 匹配方式:Libsolv
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsolv-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libsolv1 0.7.28-1build2

dependency solver using a satisfiability algorithm (shared library)

https://github.com/openSUSE/libsolv

sudo apt install libsolv1
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libsolv
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libsolv
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsolv1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libsolvext-dev 0.7.28-1build2

dependency solver using a satisfiability algorithm (ext development files)

https://github.com/openSUSE/libsolv

sudo apt install libsolvext-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: libsolv
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libsolv
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsolvext-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libsolvext1 0.7.28-1build2

dependency solver using a satisfiability algorithm (extensions)

https://github.com/openSUSE/libsolv

sudo apt install libsolvext1
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libsolv
  • 9 依赖
  • normalized package name match
  • 匹配方式:Libsolv
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsolvext1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 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