macOS
brew install libversionlocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für libversion in AI-Agent-Workflows.
Installation
brew install libversionlocal Homebrew formula metadata
nix profile install nixpkgs#libversionnixpkgs package indexes · pkgs/by-name/li/libversion/package.nix · Quelle: api.github.com
sudo zypper install libversionopenSUSE Tumbleweed package metadata · libversion · Quelle: download.opensuse.org
Überblick
Advanced version string comparison library
Verlauf
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.
Sicherheitslage
library-like package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
version_compare | cli | globales Executable | |
version_sort | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/repology/libversion
Installationsmetadaten
| Paketschlüssel | brew:libversion |
|---|---|
| Version | 3.0.4 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/libversion |
| Homepage | https://github.com/repology/libversion |
| Repository | https://github.com/repology/libversion |
| Upstream-Dokumentation | https://github.com/repology/libversion |
| Lizenz | MIT |
| Quellarchiv | https://github.com/repology/libversion/archive/refs/tags/3.0.4.tar.gz |
| Build-Abhängigkeiten | cmake |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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 libversion1Quellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.