pkg.soopen package index

brew / 順位 12030

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

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

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

実行可能ファイル

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

コマンド種類公開範囲メモ
version_compare実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
version_sort実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

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

ページ生成日2026-08-03
マネージャ版3.0.4
マネージャ更新日
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:libversion
バージョン3.0.4
パッケージマネージャHomebrew
ホームページhttps://github.com/repology/libversion
リポジトリhttps://github.com/repology/libversion
Bottle未記録
サービス宣言なし

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの 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.5

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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

libversion-devel 3.0.4-1.5

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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

libversion1 3.0.4-1.5

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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

ソース経路

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

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

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation