yum, rpm command options Overview

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
发布了130 篇原创文章 · 获赞 39 · 访问量 1万+

Guess you like

Origin blog.csdn.net/qq_34901049/article/details/103542468