macOS
brew install libsolvlocal Homebrew formula metadata
sudo port install libsolvMacPorts ports tree · devel/libsolv/Portfile · 来源: api.github.com
安装
brew install libsolvlocal Homebrew formula metadata
sudo port install libsolvMacPorts ports tree · devel/libsolv/Portfile · 来源: api.github.com
sudo dnf install libsolvFedora Rawhide package metadata · libsolv · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libsolvnixpkgs package indexes · pkgs/by-name/li/libsolv/package.nix · 来源: api.github.com
sudo pacman -S libsolvArch Linux sync databases · libsolv · 来源: geo.mirror.pkgbuild.com
sudo apt install libsolv-devDebian stable package indexes · libsolv-dev · 来源: deb.debian.org
sudo zypper install libsolv-demoopenSUSE Tumbleweed package metadata · libsolv-demo · 来源: download.opensuse.org
概览
Library for solving packages and reading repositories
历史
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.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
appdata2solv | cli | 全局可执行文件 | |
archpkgs2solv | cli | 全局可执行文件 | |
archrepo2solv | cli | 全局可执行文件 | |
comps2solv | cli | 全局可执行文件 | |
conda2solv | cli | 全局可执行文件 | |
deb2solv | cli | 全局可执行文件 | |
deltainfoxml2solv | cli | 全局可执行文件 | |
dumpsolv | cli | 全局可执行文件 | |
helix2solv | cli | 全局可执行文件 | |
installcheck | cli | 全局可执行文件 | |
mdk2solv | cli | 全局可执行文件 | |
mergesolv | cli | 全局可执行文件 | |
repo2solv | cli | 全局可执行文件 | |
repomdxml2solv | cli | 全局可执行文件 | |
rpmdb2solv | cli | 全局可执行文件 | |
rpmmd2solv | cli | 全局可执行文件 | |
rpms2solv | cli | 全局可执行文件 | |
susetags2solv | cli | 全局可执行文件 | |
testsolv | cli | 全局可执行文件 | |
updateinfoxml2solv | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/openSUSE/libsolv
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 依赖 | rpm, xz, zstd |
| 构建依赖 | cmake |
| macOS 提供的库 | bzip2, expat |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libsolv |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libsolv-dev 0.7.32-1
dependency solver using a satisfiability algorithm (development files)
https://github.com/openSUSE/libsolv
sudo apt install libsolv-devlibsolv-doc 0.7.32-1
dependency solver using a satisfiablility algorithm (documentation files)
https://github.com/openSUSE/libsolv
sudo apt install libsolv-doclibsolv-perl 0.7.32-1
dependency solver using a satisfiability algorithm (Perl bindings)
https://github.com/openSUSE/libsolv
sudo apt install libsolv-perllibsolv-tools 0.7.32-1
dependency solver using a satisfiability algorithm (command-line tools)
https://github.com/openSUSE/libsolv
sudo apt install libsolv-toolslibsolv1 0.7.32-1
dependency solver using a satisfiability algorithm (shared library)
https://github.com/openSUSE/libsolv
sudo apt install libsolv1libsolvext-dev 0.7.32-1
dependency solver using a satisfiability algorithm (ext development files)
https://github.com/openSUSE/libsolv
sudo apt install libsolvext-devlibsolvext1 0.7.32-1
dependency solver using a satisfiability algorithm (extensions)
https://github.com/openSUSE/libsolv
sudo apt install libsolvext1python3-solv 0.7.32-1
dependency solver using a satisfiability algorithm (Python3 bindings)
https://github.com/openSUSE/libsolv
sudo apt install python3-solvlibsolv
nix profile install nixpkgs#libsolvlibsolv-dev 0.7.28-1build2
dependency solver using a satisfiability algorithm (development files)
https://github.com/openSUSE/libsolv
sudo apt install libsolv-devlibsolv-doc 0.7.28-1build2
dependency solver using a satisfiablility algorithm (documentation files)
https://github.com/openSUSE/libsolv
sudo apt install libsolv-doclibsolv-perl 0.7.28-1build2
dependency solver using a satisfiability algorithm (Perl bindings)
https://github.com/openSUSE/libsolv
sudo apt install libsolv-perllibsolv-tools 0.7.28-1build2
dependency solver using a satisfiability algorithm (command-line tools)
https://github.com/openSUSE/libsolv
sudo apt install libsolv-toolslibsolv1 0.7.28-1build2
dependency solver using a satisfiability algorithm (shared library)
https://github.com/openSUSE/libsolv
sudo apt install libsolv1libsolvext-dev 0.7.28-1build2
dependency solver using a satisfiability algorithm (ext development files)
https://github.com/openSUSE/libsolv
sudo apt install libsolvext-devlibsolvext1 0.7.28-1build2
dependency solver using a satisfiability algorithm (extensions)
https://github.com/openSUSE/libsolv
sudo apt install libsolvext1来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.