Skip to content
Tech News
← Back to articles

whohas – Command-line utility for cross-distro, cross-repository package search

read original more articles
Why This Matters

whohas is a versatile command-line tool that enables users and package maintainers to search for packages across multiple Linux and BSD distributions, facilitating package discovery, version comparison, and cross-distro learning. Its ability to streamline package management and promote interoperability makes it a valuable resource for the open-source community and end-users alike.

Key Takeaways

Notes for whohas

More information can be found at http://www.philippwesche.org/200811/whohas/intro.html

Philipp L. Wesche

whohas is a command line tool that allows querying several package lists at once - currently supported are Arch, Debian, Fedora, Gentoo, Mageia, Mandriva, openSUSE, Slackware, Source Mage, Ubuntu, FreeBSD, NetBSD, OpenBSD, Fink, MacPorts and Cygwin. whohas is written in Perl and was designed to help package maintainers find ebuilds, pkgbuilds and similar package definitions from other distributions to learn from. However, it can also be used by normal users who want to know:

Which distribution has packages available for apps upon whom the user depends.

What version of a given package is in use in each distribution, or in each release of a distribution (implemented only for Debian).

whohas gives urls to more details about the package. I recommend using a terminal that recognises hyperlinks and allows easy forwarding to the browser.

You can use grep to improve your search results:

whohas gimp | grep "gimp "

The space will ensure that only results for the package gimp are displayed, not for gimp-print etc.

... continue reading