RPM Redhat 頠隞嗥恣蝟餌絞, 典神 Redhat Package Manager, Redhat, Fedora CentOS 蝑臭誑 RPM 蝪∪桀鋆, 蝘駁文湔啣隞嗚隞乩 RPM 雿銝鈭撣貉冽: |9 f9 ^( s9 I7 N5 ^3 F
2 Z& j: Y! q4 M- f% r
亥岷憟隞( P* e3 z" o5 L# G. r9 ]
憿舐內撌脣鋆憟隞:8 T! g. A* v {4 a1 d
rpm -qa
7 c$ |, L1 Y$ w& E+ n9 y
7 A$ z+ p5 R+ w) f. e5 C憒亥岷祉孵摮銝脣隞, 靘憒亥岷撌脣鋆 php 憟隞, 臭誑璅:" q$ _$ I; G9 C, H" ]* X
rpm -qa | grep php' p+ j7 P) i0 a' V
; ^' _! F4 m+ k$ ]" V P5 ]
亦孵憟隞嗥摰鋆鞈閮, 靘憒 php-mysql:3 E6 r4 C f& R) k' I- P
rpm -qi php-mysql
& M/ ? |! G1 s1 K0 i& S" Z
, F/ E+ S h2 O8 Z9 a& A; z7 d亦憟隞嗆摰鋆瑼獢:
6 Z9 j( C, a0 g! W$ I' Nrpm -ql php-mysql
- T1 X: s! G( Z- Q. L; { g+ b% _- m, i
摰鋆憟隞& }+ |' c7 Y# p5 M" x9 _* w: }& Z
* k. ^7 P) u% m. T. }摰鋆 package.rpm, 銝血券*蝷箏鋆鞈閮摰鋆脣漲
! |6 f8 z+ @" E! Y4 _6 X1 V3 X# f( Rrpm -ivh package.rpm
& n" o6 ?/ W# N7 `5 n! z- W; O, }
典鋆蝝, rpm 閮剜瑼X亦訾, 嗅臭誑 nodeps (敹賜亦訾) force (撘瑕嗅鋆) 蝜, 雿銝撱箄降璅, 箏函訾批憿, 憟隞嗅鋆敺銝臬臭誑甇撣賊雿0 E4 ^& L4 q; u2 U6 v% k" O8 R
5 V1 `: c+ o: U6 k2 E6 d9 B2 a湔啣隞
3 q0 K/ z$ d Y2 `
7 a& p& s# u' u& D, E湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 湔亙鋆:2 l Q$ X8 _0 {
rpm -Uvh package.rpm; ?! j: w9 _) }0 ?1 w- l& |
" y) d1 s5 e4 C) y: ?湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 銝摰鋆:
- M9 U" G( _$ W5 x% {( mrpm -Fuh package.rpm
0 ?5 Q' {/ i g$ S0 o) q6 e% u) P: G9 t$ L' m, l
憒銝 YUM 蝝 kernel, 航芾銝頛 rpm 瑼蝝, 隢雿輻 rpm -ivh 摰鋆, 銝閬雿輻其誑銝蝝賊, 箔蝙典蝝賊, rpm 摰鋆蝘駁方 kernel, 砌 kernel 銝賡璈閬暻餌拐
+ o: s3 N2 A0 T! W/ |* _2 `7 T9 p% ^7 w5 n7 H z* H# b
蝘駁文隞" }+ U& Q# M9 s4 X- e! A
" G2 _& K' G' R7 O2 B/ ~! Q蝘駁 package 憟隞:4 F/ }9 j' K0 u8 ]/ ?! m3 A) G
rpm -e package6 B# S! U7 s+ ~' M
" B" N, F3 U8 B4 P- A% {6 y
|
|