Michael Altfield's gravatar

Package Manager Search Commands

In a given week, I touch maybe a half dozen different Operating Systems/Distributions. Some are similar to others (centos, rhel), some–not so much (solaris). The common commands are easy enough to remember ( @ls@ vs @dir@ ), but I always forget how to search through each OS’s package manager for a software package. For my reference (and perhaps yours?) here’s a list for each of the OSs’ package managers I use frequently:


yum list


apt-cache search


pacman --sync --search
pacman -Ss


emerge --search # pkg names only
emerge --searchdesc # pkg names & descriptions
emerge -S # alias of --searchdesc

See Also: “Install ‘build-essential’ on RHEL/CentOS and OpenSolaris”:http://tech.michaelaltfield.net/wp/?p=231

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>