RPM Redhat 頠隞嗥恣蝟餌絞, 典神 Redhat Package Manager, Redhat, Fedora CentOS 蝑臭誑 RPM 蝪∪桀鋆, 蝘駁文湔啣隞嗚隞乩 RPM 雿銝鈭撣貉冽:
- C; i3 O3 M/ Q$ \# y
$ e4 R, ~5 w% U2 A亥岷憟隞4 T, B( F% \ L% c2 A
憿舐內撌脣鋆憟隞:* {# J, N( M6 Z& d C
rpm -qa
$ @1 ?0 p5 h% Q; v; h( O
; q* r, I9 k4 c: S憒亥岷祉孵摮銝脣隞, 靘憒亥岷撌脣鋆 php 憟隞, 臭誑璅:3 O9 H1 d' k ]' K* C, Z, I; d# C
rpm -qa | grep php
2 m: o. `, _- m% ]$ ^+ `
2 T* g& \2 Q W% ~亦孵憟隞嗥摰鋆鞈閮, 靘憒 php-mysql:& }3 a8 x. _ f) S: ?6 E
rpm -qi php-mysql/ c" C8 Y( _9 I3 V; Q" f
8 O+ M A- q# F4 o I
亦憟隞嗆摰鋆瑼獢:
+ ^( S' ]' Y3 Y: k& ] Trpm -ql php-mysql
7 X4 Q& W5 z C/ P; B9 l
0 k7 ~" \* T; Q3 B% k4 Z# Q摰鋆憟隞
! z: Y9 \! `6 M2 G% E) w8 }& @
) U0 s0 K5 W! ?; J8 P摰鋆 package.rpm, 銝血券*蝷箏鋆鞈閮摰鋆脣漲
* A _& H: i; g8 W6 u. Arpm -ivh package.rpm) J( o! t5 d1 C% W& v& w3 v+ N
# y/ x/ @6 g: \典鋆蝝, rpm 閮剜瑼X亦訾, 嗅臭誑 nodeps (敹賜亦訾) force (撘瑕嗅鋆) 蝜, 雿銝撱箄降璅, 箏函訾批憿, 憟隞嗅鋆敺銝臬臭誑甇撣賊雿" X8 F1 P$ S8 D9 E% p
; ~7 ^2 D# n6 c5 h
湔啣隞 N6 t5 X8 _: h# K& `3 D5 w
+ a3 x0 }: H' G9 B
湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 湔亙鋆:
% V2 h3 ] o/ [) A; B) yrpm -Uvh package.rpm
/ ^. S/ ^7 {& w# x: D& Z5 ]0 G' r$ E& e+ f6 d7 p, v! K
湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 銝摰鋆:" f) J( C" S0 n+ H0 } Z4 }+ o7 J
rpm -Fuh package.rpm7 r5 G6 Y Q0 B* t
# B m O! ]3 f0 } I c- z+ r
憒銝 YUM 蝝 kernel, 航芾銝頛 rpm 瑼蝝, 隢雿輻 rpm -ivh 摰鋆, 銝閬雿輻其誑銝蝝賊, 箔蝙典蝝賊, rpm 摰鋆蝘駁方 kernel, 砌 kernel 銝賡璈閬暻餌拐5 {" g# U3 G. M/ c, e
' K+ C( s [1 u
蝘駁文隞
" v& X& e+ D9 A; v, t& A7 s) d7 X
2 L5 a; ?7 V( O# j蝘駁 package 憟隞:
: G8 X6 g/ p- f9 B8 b+ R. ~% vrpm -e package; w' T3 W, Y2 c8 g* M
& K, J/ j5 B0 Y0 M( M @ |
|