RPM Redhat 頠隞嗥恣蝟餌絞, 典神 Redhat Package Manager, Redhat, Fedora CentOS 蝑臭誑 RPM 蝪∪桀鋆, 蝘駁文湔啣隞嗚隞乩 RPM 雿銝鈭撣貉冽:- O7 I6 B# D. T6 B2 s
8 t* ~6 o, q8 d9 P6 C9 {7 I亥岷憟隞: n* T$ d8 y0 b* l
憿舐內撌脣鋆憟隞:
; Q5 p4 ~9 _2 X2 ?/ ~& P( r Zrpm -qa' T0 P0 k: `; j u) G3 V/ P
' M9 d" c; s0 D- q憒亥岷祉孵摮銝脣隞, 靘憒亥岷撌脣鋆 php 憟隞, 臭誑璅:) N2 E# R; E0 ?0 H* h+ u
rpm -qa | grep php
: c" l! e* ~8 s3 E( P7 i# T% ~; n4 J8 B" c( D
亦孵憟隞嗥摰鋆鞈閮, 靘憒 php-mysql:
# `: n3 @# o% ]% w2 jrpm -qi php-mysql
5 Z3 }) c2 ?3 w" g+ p0 X+ A# ^! [+ [7 g& n' _+ f8 l
亦憟隞嗆摰鋆瑼獢:
6 `7 t/ [6 q' s# }rpm -ql php-mysql
* u& B* [1 q4 a7 E8 C3 s; c* W8 k0 T9 o+ P& Q
摰鋆憟隞
' W7 m# m' ~ Q- x! K* P7 S7 _/ A9 O, ?3 v# ]8 j: }, }2 L
摰鋆 package.rpm, 銝血券*蝷箏鋆鞈閮摰鋆脣漲 g0 t( x* I: e
rpm -ivh package.rpm
$ o2 W4 f+ B9 ?9 w! _2 O; H
9 H3 C- r. V& ]" m典鋆蝝, rpm 閮剜瑼X亦訾, 嗅臭誑 nodeps (敹賜亦訾) force (撘瑕嗅鋆) 蝜, 雿銝撱箄降璅, 箏函訾批憿, 憟隞嗅鋆敺銝臬臭誑甇撣賊雿
5 Z+ S1 ~) Q! z0 R
' c- I9 o4 n: r+ o. d湔啣隞0 k! G I1 _8 f; x) F" b
; B5 S( Z9 |# Q, y湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 湔亙鋆:
+ u: c Z% H9 |8 `8 brpm -Uvh package.rpm/ Z p$ ]" c) l# @% i
g2 e9 o8 b7 C* {5 F" n湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 銝摰鋆:& m2 u; ?) a: k/ c# @* P% \/ o
rpm -Fuh package.rpm
- _8 m' I& V" _1 w, w5 h+ K: b3 N/ s6 |- E( @& N2 l) X1 z2 C2 f% D
憒銝 YUM 蝝 kernel, 航芾銝頛 rpm 瑼蝝, 隢雿輻 rpm -ivh 摰鋆, 銝閬雿輻其誑銝蝝賊, 箔蝙典蝝賊, rpm 摰鋆蝘駁方 kernel, 砌 kernel 銝賡璈閬暻餌拐
; [8 k# u% {+ J) [: X
1 b' ?6 f* Z2 n+ [蝘駁文隞
' p& X4 I8 I8 o0 j" O& W. U4 D' D. v+ {
蝘駁 package 憟隞:/ p# R* T. t% A& z
rpm -e package) {' O# z: c- c: R% N# u
( }; b) Q1 e4 q% n/ l# M/ T, `0 [; ` |
|