RPM Redhat 頠隞嗥恣蝟餌絞, 典神 Redhat Package Manager, Redhat, Fedora CentOS 蝑臭誑 RPM 蝪∪桀鋆, 蝘駁文湔啣隞嗚隞乩 RPM 雿銝鈭撣貉冽:
9 d% v/ j6 |2 K
$ Z8 O) n) z+ K& E亥岷憟隞; i; t! O) X* z1 S M- C) B4 v
憿舐內撌脣鋆憟隞:- j" J$ ^4 Z2 }
rpm -qa% k$ B' t3 a! p, {# y; }
) Y# E3 q' M e( F
憒亥岷祉孵摮銝脣隞, 靘憒亥岷撌脣鋆 php 憟隞, 臭誑璅:& Z* j% W3 X3 A% M% a; U% L
rpm -qa | grep php6 l5 _; H$ D5 A/ b% S0 D( ~
0 \1 x: t) R* Y9 X ^4 b2 B. ?& _$ O亦孵憟隞嗥摰鋆鞈閮, 靘憒 php-mysql:
9 ?7 ^5 c0 j" Yrpm -qi php-mysql
0 Y& k: _8 @$ M# l: o0 ]+ p2 B3 r/ F0 i/ j0 `9 c( }
亦憟隞嗆摰鋆瑼獢:; ?* O% b1 |% `7 n: ?% U. K
rpm -ql php-mysql% b. @1 e8 t2 |1 w3 w
3 I2 d5 {7 X7 P9 Z* f4 r# ^摰鋆憟隞# d6 X* O5 g1 {- a* Y2 f
* h7 w2 Y2 Z+ ~/ @" v7 d4 `* ~
摰鋆 package.rpm, 銝血券*蝷箏鋆鞈閮摰鋆脣漲
& a% g, y- g. Qrpm -ivh package.rpm% t+ l: y: t7 u% f
/ m* R( D( }$ |* a) u典鋆蝝, rpm 閮剜瑼X亦訾, 嗅臭誑 nodeps (敹賜亦訾) force (撘瑕嗅鋆) 蝜, 雿銝撱箄降璅, 箏函訾批憿, 憟隞嗅鋆敺銝臬臭誑甇撣賊雿; p% [$ r3 H# E9 V; Z' Y
0 H, {8 b0 w* w% U
湔啣隞+ @1 J' L! v" A3 v: V
6 _/ i2 D2 @9 x+ B
湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 湔亙鋆:9 K$ a( C+ ^8 J% c( I* ^0 e. P0 F
rpm -Uvh package.rpm) j3 t- x' }: f, K% R3 I! \
: ^# R) J. Y2 r* R
湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 銝摰鋆: C; O! u J7 y% V
rpm -Fuh package.rpm" v8 i9 I$ l+ B" H: P) [, s& q# w; z
- N! f! K& }1 E! E2 s
憒銝 YUM 蝝 kernel, 航芾銝頛 rpm 瑼蝝, 隢雿輻 rpm -ivh 摰鋆, 銝閬雿輻其誑銝蝝賊, 箔蝙典蝝賊, rpm 摰鋆蝘駁方 kernel, 砌 kernel 銝賡璈閬暻餌拐8 A. ]0 E. q g0 `- E! X4 Y! r: @
$ I2 S" L4 a" U5 w- }
蝘駁文隞
* q0 L% s. M- K5 t
+ D1 c9 |( m8 ^1 ~0 L1 D _蝘駁 package 憟隞:) N# R( h, h& l, G8 m! _5 N
rpm -e package- q8 w8 e4 Y; T+ l1 a+ u
$ s9 i: ~# z; I* m3 J. x3 x |
|