Product SiteDocumentation Site

6.10.3. Usage examples

Finding out the rpm group of a package
$ yum list-rpm-groups yum-list-data
...
==================== Installed Packages ====================
System Environment/Base      1 (100%)
==================== Available Packages ====================
System Environment/Base      1 (100%)
list-rpm-groups done
Package sizes when installed
# yum info-installed-sizes
...
[    1B -  10KB ]      886 (  6%)
  AllegroOGG-devel-1.0.3-4.fc9.i386                               6.2 k ( 6,363)
  Frodo-gui-4.1b-5.fc10.i386                                      8.8 k ( 9,038)
  Io-language-mysql-20071010-6.fc10.i386                          9.8 k (10,064)
  Io-language-postgresql-20071010-6.fc10.i386                     5.0 k ( 5,164)
...
# yum info-installed-sizes firefox
...
==================== Installed Packages ====================
-- Unknown --      1 (100%)
  firefox-3.0.5-1.fc10.i386

==================== Available Packages ====================
[  10MB -  50MB ]        2 (100%)
  firefox-3.0.5-1.fc10.i386                                    14 M (15,028,447)
  firefox-3.0.4-1.fc10.i386                                    14 M (14,831,870)

info-installed-sizes done
# yum info-installed-sizes firefox-3.0.5
==================== Installed Packages ====================
-- Unknown --      1 (100%)
  firefox-3.0.5-1.fc10.i386

==================== Available Packages ====================
[  10MB -  50MB ]        1 (100%)
  firefox-3.0.5-1.fc10.i386                                    14 M (15,028,447)

info-installed-sizes done