RPM Package Manager
English Verbatim: RPM package Manager, a package and installation tool for the Internet download package, which is included in some Linux distributions.
rpm Use format:
Installation: rpm {-i|--install} [install-options] package_file ...
-i:--install installation;
- V: --verbose display detailed installation process;
- H: Show progress;
650) this.width=650; "title=" clip_image002 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image002 "src=" http://s3.51cto.com/wyfs02/M02/73/14/ Wkiom1xz6ozwqaqyaabewff0c-m009.jpg "" 558 "height="/>
Upgrade: RPM {-u|--upgrade} [install-options] package_file ...
RPM {-f|--freshen} [install-options] package_file ...
-UVH: If there is an older version of the package, upgrade it, or if not, install it;
-FVH: If there is an older version of the package, upgrade it, or if not, install it;
650) this.width=650; "title=" clip_image004 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image004 "src=" http://s3.51cto.com/wyfs02/M00/73/14/ Wkiom1xz6ozj-6wwaaa6u2xhoca738.jpg "558" height= "Max"/>
Uninstall: rpm {-e|--erase} [--nodeps] [--noscripts] [--notriggers] [--test] package_name ...
650) this.width=650; "title=" clip_image006 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image006 "src=" http://s3.51cto.com/wyfs02/M01/73/14/ Wkiom1xz6oywd1l-aacjlc7je7y071.jpg "" 558 "height="/>
Inquire:
RPM {-q|--query} [select-options] [query-options]
-qa: query All packages that have been installed on this machine;
-qf/path/to/somefile: query where the file is installed by which package is generated;
650) this.width=650; "title=" clip_image008 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image008 "src=" http://s3.51cto.com/wyfs02/M02/73/14/ Wkiom1xz6oycypjdaaapshdx-34984.jpg "" 557 "height="/>
-QC: query Specifies the configuration file that the package installation generates
650) this.width=650; "title=" clip_image010 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image010 "src=" http://s3.51cto.com/wyfs02/M00/73/14/ Wkiom1xz6ozieaqraacqejgvwv0559.jpg "" 558 "height=" 172 "/>
-QD: queries the specified package to install the generated document
650) this.width=650; "title=" clip_image012 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image012 "src=" http://s3.51cto.com/wyfs02/M01/73/11/ Wkiol1xz7l3j-h1paaeneawnbdy420.jpg "" 558 "height=" 234 "/>
-qi: queries for information about the specified package;
650) this.width=650; "title=" clip_image014 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image014 "src=" http://s3.51cto.com/wyfs02/M02/73/11/ Wkiol1xz7l3z87cmaadh6c-jlug951.jpg "" 558 "height=" 225 "/>
-QL: A list of all files generated by the query package installation;
650) this.width=650; "title=" clip_image016 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image016 "src=" http://s3.51cto.com/wyfs02/M00/73/11/ Wkiol1xz7l2gumqkaaejruom5yu678.jpg "" 557 "height=" 297 "/>
- Q--scripts : Query package-related scripts:
650) this.width=650; "title=" clip_image018 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image018 "src=" http://s3.51cto.com/wyfs02/M00/73/14/ Wkiom1xz6o2w2ctiaafrstije8g632.jpg "" 558 "height=" 298 "/>
Preinstall: Pre-installation scripts
650) this.width=650; "title=" clip_image020 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image020 "src=" http://s3.51cto.com/wyfs02/M01/73/14/wKiom1Xz6o3x2_ Bzaaatkfnul9a109.jpg "" 558 "height="/>
Postinstall : Post-installation script
650) this.width=650; "title=" clip_image022 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image022 "src=" http://s3.51cto.com/wyfs02/M02/73/14/ Wkiom1xz6o3qh4feaaavxtadopu069.jpg "" 558 "height="/>
Preuninstall: Pre-Uninstall script
Postuninstall: Post-uninstallation script
- P: The query is for a package file that is not installed;
Check:
RPM {-v|--verify} [select-options] [verify-options]
S file Size differs
M Mode differs (includes permissions and file type)
5 Digest (formerly MD5 sum) differs
D Device Major/minor number mismatch
L Readlink (2) path mismatch
U User ownership differs
G Group ownership differs
T MTime differs
P capabilities differ
Package Check:
Source Legitimacy Verification: asymmetric encryption
Integrity verification: one-way encryption
Import Key: RPM--import/path/to/key_file
Check: Rpm-k/path/to/rpm_file
Yum:yellowdog Updater Modified
Yum configuration file for the program:
/etc/yum.conf
Define global configuration: configurations that are applicable to all warehouses
/etc/yum.repos.d/*.repo
A file is typically used for a warehouse or a group of similar or related functions
Yum command:
Yum [options] [command] [package ...]
Installation: Install
650) this.width=650; "title=" clip_image024 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image024 "src=" http://s3.51cto.com/wyfs02/M00/73/11/ Wkiol1xz7l7z7qxhaae76b1zygm621.jpg "" 558 "height=" 333 "/>
Uninstall: Remove
650) this.width=650; "title=" clip_image026 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image026 "src=" http://s3.51cto.com/wyfs02/M02/73/11/ Wkiol1xz7l6trxvcaaepz8wycvq797.jpg "" 557 "height=" 325 "/>
Upgrade: Update
650) this.width=650; "title=" clip_image028 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image028 "src=" http://s3.51cto.com/wyfs02/M02/73/14/ Wkiom1xz6o6trukaaabrklu1hho857.jpg "" 558 "height="/>
Inquire:
Info
650) this.width=650; "title=" clip_image030 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image030 "src=" http://s3.51cto.com/wyfs02/M02/73/11/ Wkiol1xz7l-xclmzaac2oa7a08g956.jpg "" 558 "height=" 215 "/>
Search KEYWORD
650) this.width=650; "title=" clip_image032 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image032 "src=" http://s3.51cto.com/wyfs02/M00/73/11/ Wkiol1xz7l-b6eczaafpuezysty916.jpg "" 558 "height="/>
List all|installed|availiable
650) this.width=650; "title=" clip_image034 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image034 "src=" http://s3.51cto.com/wyfs02/M00/73/11/wKioL1Xz7L_ A7rpkaabe8tuq1lg142.jpg "" 558 "height="/>
Provides/path/to/somefile: query which package installation builds the specified file
650) this.width=650; "title=" clip_image036 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image036 "src=" Http://s3.51cto.com/wyfs02/M01/73/14/wKiom1Xz6o_ Y0nulaadqk-3baes569.jpg "" 558 "height=" 269 "/>
Reinstall: Reinstall
650) this.width=650; "title=" clip_image038 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image038 "src=" http://s3.51cto.com/wyfs02/M02/73/14/ Wkiom1xz6o-qp5draafeczrpe0o094.jpg "" 558 "height="/>
Downgrade: Downgrade
650) this.width=650; "title=" clip_image040 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image040 "src=" http://s3.51cto.com/wyfs02/M01/73/11/ Wkiol1xz7mcdcsflaadmcrqdi0c476.jpg "" 558 "height=" 162 "/>
Cleanup cache: Clean [Packages | metadata | expire-cache | rpmdb | plugins | all]
Vivid Build Cache: Makecache
Package Group:
Grouplist
650) this.width=650; "title=" clip_image042 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image042 "src=" http://s3.51cto.com/wyfs02/M00/73/11/ Wkiol1xz7mcdzgffaaepvhy-ogi422.jpg "" 558 "height="/>
GroupInfo "Grp_name"
650) this.width=650; "title=" clip_image044 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image044 "src=" http://s3.51cto.com/wyfs02/M00/73/14/ Wkiom1xz6pcdfucbaadeqqatzeu961.jpg "" 558 "height=" 229 "/>
Groupinstall "Grp_name"
Groupremove "Grp_name"
Linux Package Management Rpm,yum