Automic VaultAutomic Vault

brew

libversion を Homebrew, Nix, zypper でインストール

libversion のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install libversion

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#libversion

nixpkgs package indexes · pkgs/by-name/li/libversion/package.nix · ソース: api.github.com

openSUSE zypper確認済み · 92%
sudo zypper install libversion

openSUSE Tumbleweed package metadata · libversion · ソース: download.opensuse.org

概要

パッケージ概要

Advanced version string comparison library

コマンドとエイリアス

  • version_compare
  • version_sort

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 1.0.0: First tagged major release line in the public repository.
  • 2.0.0: Later tagged major release line in the public repository.
  • 3.0.0: Later tagged major release line in the public repository.

Related projects

  • Repology uses libversion for software-version comparison across repositories.
  • py-libversion, libversion-rs, golibversion, ruby-libversion, and other bindings or compatible implementations extend the same comparison model.

セキュリティ状態

リスクレベル: グリーン

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 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
version_comparecliグローバル実行可能ファイル
version_sortcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版3.0.4
マネージャ更新日
ローカルデータOK
上流最新
検出された最新3.0.4

https://github.com/repology/libversion

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキー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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibversion
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

libversion

nix profile install nixpkgs#libversion
  • normalized package name match
  • 一致条件: Libversion
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libversion/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
zypper95%

libversion 3.0.4-1.3

Version string comparison library

https://github.com/repology/libversion

sudo zypper install libversion
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libversion
  • 4 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Libversion
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libversion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libversion-devel 3.0.4-1.3

Development files for libversion

https://github.com/repology/libversion

sudo zypper install libversion-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libversion
  • 2 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Libversion
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libversion-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libversion1 3.0.4-1.3

Version string comparison library

https://github.com/repology/libversion

sudo zypper install libversion1
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libversion
  • 2 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Libversion
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libversion1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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