When you need to refer to a package name to install, update, remove, list, get information, etc., you can specify the package name with one of the following formats:
name
name.arch
name-ver
name-ver-lib
name-ver-lib.arch
name-epoch:ver-lib.arch
epoch:name-ver-lib.arch
For example:
# yum remove kernel-2.4.1-10.i686
It will remove the kernel of that specific version and architecture.
# yum list available ’foo*’
It will list all available packages that match the 'foo *' pattern. Single quotes prevent shell expansion.
Architecture Compatibility
i386 Suitable for any current Intel-compatible computer
noarch Compatible with all computer architectures
ppc Suitable for PowerPC systems, such as Apple Power Macintosh
x86_64 Suitable for 64-bit Intel-compatible processors, such as Opterons
Use the short name in yum commands. This causes yum to automatically select the latest package in the repositories that match your computer architecture.
Specify the name with any of the other formats to override the default yum behavior and force it to use the package that match your specification either with version or with architecture. Make this decision only when you know that the default selection has a bug or some other failure that would turn your system unusable.