RPM Redhat 頠隞嗥恣蝟餌絞, 典神 Redhat Package Manager, Redhat, Fedora CentOS 蝑臭誑 RPM 蝪∪桀鋆, 蝘駁文湔啣隞嗚隞乩 RPM 雿銝鈭撣貉冽:
) E$ n, [5 w# J- ]
9 \. X. Q* U7 P# @8 K亥岷憟隞3 O9 i, h; _( P7 W' d
憿舐內撌脣鋆憟隞:
) {% `% m- ~! Jrpm -qa
" e% ?6 i( i4 T3 \" ^
8 L6 y) x9 P! |9 q* T憒亥岷祉孵摮銝脣隞, 靘憒亥岷撌脣鋆 php 憟隞, 臭誑璅:
0 I/ N0 @7 ~& z& ^0 drpm -qa | grep php' t" V6 s: E* w( P, J. R
/ f7 E/ c( w( U5 I) U6 O亦孵憟隞嗥摰鋆鞈閮, 靘憒 php-mysql:
- t) a2 P0 ^! M5 V6 }) Wrpm -qi php-mysql% n5 S9 D3 e3 l1 z) m. k
: j- @' `( m2 ~7 L亦憟隞嗆摰鋆瑼獢:
5 V* S. A% N) j0 C2 erpm -ql php-mysql
: z$ E) @! @3 ^. f6 ?; ]& @/ `- I& p) _
摰鋆憟隞
, c# |2 x& G6 G* J4 h
! o |* \& Y7 F$ M. G: x摰鋆 package.rpm, 銝血券*蝷箏鋆鞈閮摰鋆脣漲
1 r+ Z4 b9 D0 m* prpm -ivh package.rpm
" f% d" }) `, T9 q" C/ T* \5 e$ A
典鋆蝝, rpm 閮剜瑼X亦訾, 嗅臭誑 nodeps (敹賜亦訾) force (撘瑕嗅鋆) 蝜, 雿銝撱箄降璅, 箏函訾批憿, 憟隞嗅鋆敺銝臬臭誑甇撣賊雿
- M- P3 o7 ]6 C5 t
, M! ?. w2 a: M. j" Q/ J湔啣隞 K$ T, ]/ O5 `, n' s) c: _* C4 o( o
5 D) S% o% g2 x0 e, V9 y, D湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 湔亙鋆:
. U% A! Z4 |' ?rpm -Uvh package.rpm
% q$ P8 y2 \. z6 f1 D. K% ? x0 ~0 b: p0 i5 _. y$ U
湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 銝摰鋆:8 B( T v$ e6 a7 k* X8 O X1 a
rpm -Fuh package.rpm" {) N* h" l0 f {. u% `) j
: Y! U! w3 s# `- i憒銝 YUM 蝝 kernel, 航芾銝頛 rpm 瑼蝝, 隢雿輻 rpm -ivh 摰鋆, 銝閬雿輻其誑銝蝝賊, 箔蝙典蝝賊, rpm 摰鋆蝘駁方 kernel, 砌 kernel 銝賡璈閬暻餌拐! t. _# a+ {8 k% x$ K: d
: _7 O+ F' i3 V
蝘駁文隞
4 L+ ^7 p/ }( O9 N+ K7 b/ L
/ P' E- s9 ^0 V) u. }蝘駁 package 憟隞:2 I; D9 M/ N. ^0 @6 x, F5 b
rpm -e package
+ j( R& t. V6 E7 j8 [: W( t4 O9 B
9 R8 X4 U$ }7 y1 }, w" R5 u |
|