Note:
1) use the-y parameter to automatically use Yes for response
2) search related RPM packages using search
For example, to install the livecd-creator tool, you must install the livecd-tools software. If
Use Yum install livecd-tools!
Step 1: Yum search live
[[Email protected] livecd] # Yum-y install livecd-tools Anaconda-runtime
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* Base: centos.ustc.edu.cn
* Extras: centos.ustc.edu.cn
* Updates: centos.ustc.edu.cn
Setting up install process
No package livecd-tools available.
Package anaconda-13.21.215-1.el6.centos.x86_64 already installed and latest version
Nothing to do
[[Email protected] livecd] # Yum search livecd
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* Base: centos.ustc.edu.cn
* Epel: mirrors.ustc.edu.cn
* Extras: centos.ustc.edu.cn
* Updates: centos.ustc.edu.cn
Epel/pkgtags | 910 KB
============================== N/S matched: livecd ==================================
Livecd-tools.x86_64: tools for building live CDs
Name and summary matches only, use "search all" for everything.
[[Email protected] livecd] # Yum-y install livecd-tools.x86_64
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* Base: centos.ustc.edu.cn
* Epel: mirrors.ustc.edu.cn
* Extras: centos.ustc.edu.cn
* Updates: centos.ustc.edu.cn
Setting up install process
Resolving Dependencies
--> Running transaction check
---> Package livecd-tools.x86_64. 4.5-1. el6 will be installed
--> Processing dependency:/sbin/extlinux for package: 1: livecd-tools-13.4.5-1.el6.x86_64
--> Running transaction check
---> Package syslinux-extlinux.x86_64 0: 4. 02-16.el6_5 will be installed
--> Processing dependency: syslinux-extlinux-nonlinux for package: syslinux-extlinux-4.02-16.el6_5.x86_64
--> Running transaction check
---> Package syslinux-extlinux-nonlinux.i686 0: 4. 02-16.el6_5 will be installed
--> Finished dependency resolution
Dependencies resolved
========================================================== ==========================================================
Package arch version repository size
========================================================== ==========================================================
Installing:
Livecd-tools x86_64. 4.5-1. el6 epel 54 K
Installing for dependencies:
Syslinux-extlinux x86_64 4.02-16. el6_5 updates 47 K
Syslinux-extlinux-nonlinux i686 4.02-16. el6_5 updates 303 K
Transaction Summary
========================================================== ==========================================================
Install 3 package (s)
Total download size: 405 K
Installed size: 1.3 m
Downloading packages:
(1/3): livecd-tools-13.4.5-1.el6.x86_64.rpm | 54 KB
(2/3): syslinux-extlinux-4.02-16.el6_5.x86_64.rpm | 47 KB
(3/3): syslinux-extlinux-nonlinux-4.02-16.el6_5.i686.rpm | 303 KB
--------------------------------------------------------------------------------
Total 28 kb/s | 405 KB
Warning: rpmts_hdrfromfdno: Header V3 RSA/sha1 signature, key ID c105b9de: nokey
Retrieving key from file: // etc/pki/rpm-GPG/RPM-GPG-KEY-CentOS-6
Importing GPG key 0xc105b9de:
Userid: CentOS-6 key (centos 6 official signing key) <[email protected]>
Package: centos-release-6-5.el6.centos.11.1.x86_64 (@ base/$ releasever)
From:/etc/pki/rpm-GPG/RPM-GPG-KEY-CentOS-6
Running rpm_check_debug
Running transaction Test
Transaction test succeeded
Running transaction
Installing: syslinux-extlinux-nonlinux-4.02-16.el6_5.i686 1/3
Installing: syslinux-extlinux-4.02-16.el6_5.x86_64 2/3
Installing: 1: livecd-tools-13.4.5-1.el6.x86_64 3/3
Verifying: syslinux-extlinux-nonlinux-4.02-16.el6_5.i686 1/3
Verifying: syslinux-extlinux-4.02-16.el6_5.x86_64 2/3
Verifying: 1: livecd-tools-13.4.5-1.el6.x86_64 3/3
Installed:
Livecd-tools.x86_64. 4.5-1. el6
Dependency installed:
Syslinux-extlinux.x86_64. 02-16.el6_5
Syslinux-extlinux-nonlinux.i686. 02-16.el6_5
Complete!