jump to navigation

How to List the Files Installed by the YUM Package Manager November 2, 2012

Posted by Tournas Dimitrios in Linux.

The Yellow dog Updater Modified (YUM) is an open-source  command-line package management utility for computers running the Linux RedHat-based Operating system (Fedora , CentOs , RedHat)  . Package management is a term used , by Linux administrators ,  to describe the processes of adding , removing , and updating software on a computer . Of course there are other ways to install software on Linux , like compiling the source-code , but undoubtedly , YUM is the most convenient solution  .

Prerequisites : The reader should already be familiar  with Linux administration tasks via the terminal . This Blog has already published a few articles that are focused on the YUM package manager . Some links :

Occasionally we need to see exactly what files are part of an installed package (documentation , binary and configuration files) .  On a RedHat based Linux  system , one easy way to do this is to use the  repoquery command line utility , which is part of yum-utils  package . The following screenshot demonstrates a practical example , it displays all documentations related to an Apache web-server  :

A “man  repoquery ” will display a detailed description of all options of this utility . Some noteworthy options are :

  • -R  :  List package dependencies
  • -i  : Show general information about a package
  • -f  : Package version

There are many other options , just read the man page . An on-line version of the man-page is available at this link .

The demo was made on an amazon-ec2-CentOs-6 instance .  The IP was dynamically assigned , after the demonstration , the instance will be rebooted .


1. Liza - November 15, 2012

good work done by the blogger, keep up the work going.

2. Lesly - November 21, 2012

amazing post.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s