libversion
« Back to VersTracker
Description:
Advanced version string comparison library
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c-library versioning semver comparison development
Install: brew install libversion
About:
Libversion is a C library designed for advanced version string comparison, offering robust parsing and sorting capabilities. It intelligently handles complex versioning schemes, including pre-releases and build metadata, providing accurate and predictable results. This makes it an ideal component for package managers and software repositories needing reliable dependency resolution.
Key Features:
  • Robust parsing of complex version strings
  • Fast comparison and sorting algorithms
  • Handles pre-releases and build metadata correctly
  • Lightweight C library with minimal dependencies
Use Cases:
  • Package manager dependency resolution
  • Software repository version sorting
  • Application update checkers
Alternatives:
  • rpmvercmp – Libversion aims to be a more general-purpose and feature-rich alternative to the algorithm used in RPM.
  • dpkg version comparison – Provides a standalone library solution compared to the logic embedded within dpkg tools.
Version History
Detected Version Rev Change Commit
Oct 7, 2025 1:04am 0 VERSION_BUMP 1a05b3e1
Sep 16, 2025 10:35am 0 VERSION_BUMP 5208c932