RPM Redhat 頠隞嗥恣蝟餌絞, 典神 Redhat Package Manager, Redhat, Fedora CentOS 蝑臭誑 RPM 蝪∪桀鋆, 蝘駁文湔啣隞嗚隞乩 RPM 雿銝鈭撣貉冽:
; n$ @' l. {7 b D/ k( [
5 q- O5 k" T8 m& J亥岷憟隞; h, }+ ]$ J" V7 D
憿舐內撌脣鋆憟隞:$ Z+ q4 i t' x( B N
rpm -qa
) h4 X4 b0 f, P$ B5 O( c
/ a+ a8 O+ E) U2 r: ^ L3 Y, s憒亥岷祉孵摮銝脣隞, 靘憒亥岷撌脣鋆 php 憟隞, 臭誑璅:$ L; b( J! ]0 a8 p
rpm -qa | grep php) ?& i$ V) F% ?
; R+ `: v1 K( f& R0 W: A
亦孵憟隞嗥摰鋆鞈閮, 靘憒 php-mysql:& t; Y3 j2 _ |, u G
rpm -qi php-mysql
. h6 X2 H( W% ~" K4 i+ i1 Q. i t8 j
3 Q8 Z4 f; m d% c+ m亦憟隞嗆摰鋆瑼獢:
7 S! Y2 n2 o) ~rpm -ql php-mysql
' [ |6 l; Y4 C. x# I5 {0 W1 }# _ N" G: f* H6 i
摰鋆憟隞! |: @+ i3 V. m
$ P0 L g6 f% m! P8 w8 C5 U
摰鋆 package.rpm, 銝血券*蝷箏鋆鞈閮摰鋆脣漲 c' K0 ^8 B. \$ Z' L' ], Y" [
rpm -ivh package.rpm
( P" O% z7 K1 l' F4 w0 z: j4 d4 I5 d* ~2 G$ `& u% Y
典鋆蝝, rpm 閮剜瑼X亦訾, 嗅臭誑 nodeps (敹賜亦訾) force (撘瑕嗅鋆) 蝜, 雿銝撱箄降璅, 箏函訾批憿, 憟隞嗅鋆敺銝臬臭誑甇撣賊雿! t- O% j6 l1 C7 I
, M' v* N1 _& o* e9 ^6 t b% B湔啣隞' V$ L3 G- p4 C/ d: g: ^5 N$ I' ]
( c$ @9 O- U( V4 H( h( z/ A
湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 湔亙鋆:
( K- s/ s: h' prpm -Uvh package.rpm$ b0 u D' d$ `5 G F8 I1 z. l
j- L& A& r! p* {" b
湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 銝摰鋆:
/ q0 F- x& p0 V: K) G& Hrpm -Fuh package.rpm4 T2 o7 d8 Y: ]# ?8 G
% r& }, y9 A. k( Q# @4 o5 o
憒銝 YUM 蝝 kernel, 航芾銝頛 rpm 瑼蝝, 隢雿輻 rpm -ivh 摰鋆, 銝閬雿輻其誑銝蝝賊, 箔蝙典蝝賊, rpm 摰鋆蝘駁方 kernel, 砌 kernel 銝賡璈閬暻餌拐/ O4 S( l8 A, K0 x
8 P R" s: t; U+ E% ^
蝘駁文隞) g+ n; \3 [/ {3 e
( c/ x" Q5 W9 F9 [, N7 V) V# X
蝘駁 package 憟隞:
/ t7 L1 f- ~' ]9 _& F* nrpm -e package
; k6 r* [0 s) b" D5 r0 P( J- F7 l' e1 Z8 i& @1 G( Q8 V/ Z/ s
|
|