YUM common commands
1
) The basic syntax:
yum [
options
] [
parameters
]
2
) Option Description
Options
|
Features
|
-Y
|
Install all pre-agreed period of interaction, one step
|
3
) Parameter Description
parameter
|
Features
|
install
|
Install
rpm
package
|
update
|
Update
rpm
Packages
|
check-update
|
Check for available updates
rpm
package
|
remove
|
Delete the specified
rpm
package
|
list
|
Show Package Information
|
clean
|
Cleanup
yum
expired cache
|
deplist
|
Show
yum
all package dependencies
|
RPM install command
1
) The basic syntax:
rpm -ivh RPM
package full name
2
) Option Description
Options
|
Features
|
-i
|
= the install -i
, mounting
|
-v
|
verbose = -v
, show details
|
-h
|
hash = -h
, the progress bar
|
--nodeps
|
- nodeps
, does not depend on the progress of detection
|