« Philadelphia Inquirer "Discovers" Carbon Dioxide Risks in Indoor Ice Arenas | Main | Nobody Ever Said Installing Open Source Applications Was Easy »

The Power of "rpm -qa"

Dave Aiello wrote, "You'd think that someone like me who fancies himself a skilled Linux user would have a clue when it comes to the use of rpm, the Red Hat Package Manager. But, here's an example of how much I haven't learned yet."

"I just discovered a powerful way to identify groups of packages that are already installed. If I want to find most of the Perl-related packages, I can enter the following command in a shell:"

rpm -qa | grep perl

"The fact that I knew to do this with the ps command (i.e. ps -ef | grep perl) in order to find defunct processes, but I didn't attempt to leverage the same technique to finding installed rpms ought to scare me to death. After all, this is a UNIX-like operating system, and the techniques you learn in one subsystem are ususally valuable in another."

"I'm sure that truly experienced Linux people who read this will conclude that I am a poseur. But, I promised myself a while ago that I would disclose as many of my truly embarassing technical gaffes and gaps in knowledge as possible-- just so I could point to them later and prove to my critics how much I've grown."

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


CTDATA Venutures (CTDATA) develops Internet and Intranet applications for corporations and non profit organizations. Our services include:

  • Consulting services for Movable Type and TypePad-based publishing systems (visit our Weblog Improvement website for more information),
  • Financial services business process consulting,
  • Content management system and knowledge management system consulting,
  • Apache web server engineering and hosting,
  • MySQL, Sybase, and Microsoft SQL Server architecture and development,
  • SOAP, REST, and XML-RPC system architecture and programming, including Amazon Web Services and
  • Weblog publishing.
For more information, contact Dave Aiello by email at dave [at] daveaiello.com or call him at +1-267-352-4420.
Copyright © 1995-2010, CTDATA Ventures. All Rights Reserved.
Powered by
Movable Type 4.25