HeadlinesBriefing favicon HeadlinesBriefing.com

WhoHas: Cross-Distribution Package Search Tool Empowers Developers

Hacker News •
×

WhoHas, a command-line utility developed by Philipp L. Wesche, enables developers to simultaneously search for software packages across 15+ Linux distributions, including Debian, Fedora, Gentoo, and openSUSE. Written in Perl, the tool aggregates package metadata from repositories like Arch Linux AUR, Ubuntu, and BSD variants, providing version histories and direct links to package definitions. This cross-distribution comparison capability helps identify compatible software versions and architectural differences between ecosystems.

The tool's practical implementation includes advanced filtering via grep integration. Users can execute commands like `whohas gimp | grep "gimp "` to isolate exact package matches, or `whohas gimp | grep -i arch` to focus on Arch Linux results. This granular search functionality proves invaluable for package maintainers tracking dependencies across rolling-release distributions like Arch and openSUSE Tumbleweed, while Debian users can analyze historical versions across oldstable, stable, testing, and unstable branches.

Technical documentation highlights whoHas's unique ability to parse ebuilds, pkgbuilds, and .deb metadata formats, making it a critical resource for reverse-engineering package definitions. The tool's 2008 origin and open-source nature have cemented its role in niche developer workflows, particularly for those maintaining multi-distribution compatibility. Example outputs reveal version discrepancies - for instance, Gentoo's gaim-otr 2.0.2 versus Debian's 2.0.1 - illustrating how distributions prioritize security patches and feature updates differently.

As a niche but essential developer tool, whoHas remains relevant despite newer package managers emerging. Its ability to bridge fragmented Linux ecosystems through uniform query syntax ensures continued utility for cross-platform development teams. The tool's enduring value lies in its simplicity and repository-agnostic design, offering a concrete solution to the persistent challenge of package version harmonization across diverse Linux environments.