Product SiteDocumentation Site

5.8. Querying Package Information

You may view the details of a specific package with yum info command.
$ su -c "yum info squid"
Loaded plugins: aliases, filter-data, list-data, local, merge-conf, presto,
              : refresh-packagekit, tmprepo
http://download.fedoraproject.org/pub/fedora/linux/updates/14/x86_64/repodata/698c6412d340528a58ae94da66dbfebde5b9650ee4ffaf92f80855002845afec-primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Installed Packages
Name        : squid
Arch        : x86_64
Epoch       : 7
Version     : 3.1.9
Release     : 3.fc14
Size        : 5.7 M
Repo        : installed
From repo   : updates
Summary     : The Squid proxy caching server
URL         : http://www.squid-cache.org
License     : GPLv2
Description : Squid is a high-performance proxy caching server for Web clients,
            : supporting FTP, gopher, and HTTP data objects. Unlike traditional
            : caching software, Squid handles all requests in a single,
            : non-blocking, I/O-driven process. Squid keeps meta data and
            : especially hot objects cached in RAM, caches DNS lookups, supports
            : non-blocking DNS lookups, and implements negative caching of
            : failed requests.
            : 
            : Squid consists of a main server program squid, a Domain Name
            : System lookup program (dnsserver), a program for retrieving FTP
            : data (ftpget), and some management and client tools.
If more than one packages matches the package name or glob, then probably yum info will show information about each one of them. In the example below a new version of yum is available in the repositories and it is not installed yet, yum info lists both packages and their respective information.
$ yum info yum
...
Installed Packages
Name        : yum
Arch        : noarch
Version     : 3.2.28
Release     : 3.fc13
Size        : 4.2 M
Repository        : installed
From repo   : updates
Summary     : RMP installer/updater
URL         : http://yum.baseurl.org/
License     : GPLv2+
Description :Yum is a utility that can check for and automatically download and
           : install updated RPM packages. Dependencies are obtained and
           : downloaded automatically, prompting the user for permission as
           : necessary.

Available Packages
Name        : yum
Arch        : noarch
Version     : 3.2.28
Release     : 4.fc13
Size        : 913 k
Repository        : updates
Summary     : RPM installer/updater
URL         : http://yum.baseurl.org/
License     : GPLv2+
Descripction :Yum is a utility that can check for and automatically download and
           : install updated RPM packages. Dependencies are obtained and
           : downloaded automatically, prompting the user for permission as
           : necessary.

Root only

The yum info listing will not show the other results if it is not run with root privileges.