Product SiteDocumentation Site

5.5. Installing New Software

You should use the yum install command to install the latest version of a package or package group and at the same time ensuring that all dependencies are satisfied in the process.
You must specify the desired package names, if it does not succeed with the specified names, it will assume that these names are "shell glob " and any matching obtained from the repositories will be installed.
If it fails to identify the package, then a search will be performed.

5.5.1. Install from the enabled repositories

# su -c "yum install xfig"
...
--> Running transaction check
---> Package xfig.x86_64 0:3.2.5-25.b.fc14 set to be installed
--> Processing Dependency: xfig-common = 3.2.5-25.b.fc14 for package: xfig-3.2.5-25.b.fc14.x86_64
--> Processing Dependency: libXaw3d.so.7()(64bit) for package: xfig-3.2.5-25.b.fc14.x86_64
--> Running transaction check
---> Package Xaw3d.x86_64 0:1.5E-19.fc14 set to be installed
---> Package xfig-common.x86_64 0:3.2.5-25.b.fc14 set to be installed
--> Processing Dependency: transfig >= 1:3.2.5 for package: xfig-common-3.2.5-25.b.fc14.x86_64
--> Running transaction check
---> Package transfig.x86_64 1:3.2.5d-1.fc14 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package            Arch          Version                  Repository      Size
================================================================================
Installing:
 xfig               x86_64        3.2.5-25.b.fc14          updates        506 k
Installing for dependencies:
 Xaw3d              x86_64        1.5E-19.fc14             updates        153 k
 transfig           x86_64        1:3.2.5d-1.fc14          updates        276 k
 xfig-common        x86_64        3.2.5-25.b.fc14          updates        4.6 M

Transaction Summary
================================================================================
Install       4 Package(s)

Total download size: 5.5 M
Installed size: 15 M
Is this ok [y/N]: Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 5.5 M
--------------------------------------------------------------------------------
Total                                           107 kB/s | 5.5 MB     00:53     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
   Installing     : 1:transfig-3.2.5d-1.fc14.x86_64                          1/4 
   Installing     : Xaw3d-1.5E-19.fc14.x86_64                                2/4 
   Installing     : xfig-common-3.2.5-25.b.fc14.x86_64                       3/4 
   Installing     : xfig-3.2.5-25.b.fc14.x86_64                              4/4 

Installed:
  xfig.x86_64 0:3.2.5-25.b.fc14                                                 

Dependency Installed:
  Xaw3d.x86_64 0:1.5E-19.fc14               transfig.x86_64 1:3.2.5d-1.fc14     
  xfig-common.x86_64 0:3.2.5-25.b.fc14     

Complete!
In the previous example we want to install xfig but a number of uninstalled dependencies are needed.
yum has detected this and it has included the dependencies needed to succeed in the task.