macOS
brew install libversionlocal Homebrew formula metadata
brew
libversion のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install libversionlocal Homebrew formula metadata
nix profile install nixpkgs#libversionnixpkgs package indexes · pkgs/by-name/li/libversion/package.nix · ソース: api.github.com
sudo zypper install libversionopenSUSE Tumbleweed package metadata · libversion · ソース: download.opensuse.org
概要
Advanced version string comparison library
履歴
libversion is Repology's C library for comparing messy software version strings, including prerelease markers, suffixes, separators, and package-repository conventions that simple lexical comparison gets wrong.
The library was written by Dmitry Marakasov for the Repology ecosystem. Its README frames the core problem as comparing versions from different package repositories, where strings such as alpha, beta, rc, patch, post, and unusual separators need stable ordering rules.
libversion is used by Repology itself, and Repology's updater lists the Python libversion module, the C library, and a PostgreSQL libversion extension among its dependencies. That makes the library part of the machinery behind cross-distribution version tracking rather than a general end-user command.
The library exposes C comparison functions, installs pkg-config and CMake integration files, and includes command-line utilities such as version_compare and version_sort for package-maintainer scripts or quick checks.
Version ordering is one of the oldest package-manager traps. libversion is interesting because it treats packaging reality as the problem domain: upstreams encode prereleases, patches, and suffixes inconsistently, and repository comparison services need deterministic answers.
セキュリティ状態
library-like package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
version_compare | cli | グローバル実行可能ファイル | |
version_sort | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/repology/libversion
インストールメタデータ
| パッケージキー | brew:libversion |
|---|---|
| バージョン | 3.0.4 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/libversion |
| ホームページ | https://github.com/repology/libversion |
| リポジトリ | https://github.com/repology/libversion |
| 上流ドキュメント | https://github.com/repology/libversion |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/repology/libversion/archive/refs/tags/3.0.4.tar.gz |
| ビルド依存関係 | cmake |
| 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 | libversion |
| 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 パッケージリンクとは分けて表示されます。
libversion
nix profile install nixpkgs#libversionlibversion 3.0.4-1.3
Version string comparison library
https://github.com/repology/libversion
sudo zypper install libversionlibversion-devel 3.0.4-1.3
Development files for libversion
https://github.com/repology/libversion
sudo zypper install libversion-devellibversion1 3.0.4-1.3
Version string comparison library
https://github.com/repology/libversion
sudo zypper install libversion1ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.