RPM Redhat 頠隞嗥恣蝟餌絞, 典神 Redhat Package Manager, Redhat, Fedora CentOS 蝑臭誑 RPM 蝪∪桀鋆, 蝘駁文湔啣隞嗚隞乩 RPM 雿銝鈭撣貉冽:" x H% V) _- t m0 |/ ]( W& c
' S' V! N5 X. A5 m8 X2 |亥岷憟隞# T" D5 x% s7 U" Z7 E% S* [
憿舐內撌脣鋆憟隞:
' n s2 G e7 v$ ~rpm -qa
* q0 g d7 r8 W! \5 J& ~
% c# d: Z8 C, m7 L憒亥岷祉孵摮銝脣隞, 靘憒亥岷撌脣鋆 php 憟隞, 臭誑璅:
8 h v, J0 U- T9 c# N9 F* u/ d- Qrpm -qa | grep php
: O$ r5 B+ L3 j. y. |) W/ S) ] s
亦孵憟隞嗥摰鋆鞈閮, 靘憒 php-mysql:
0 E* u+ B5 x4 n/ c2 arpm -qi php-mysql& \/ y: A* U5 h; N# @ m) ]
+ {" k4 `" q! X. k! v0 g亦憟隞嗆摰鋆瑼獢:
& x. l; \+ k9 V; a( U, }rpm -ql php-mysql
+ d7 M) b) D- |. b: W! k, w* Y3 q, `" ^% C3 d% u( H* d0 r
摰鋆憟隞 v$ S+ t, I |& M' Z
3 c# N. _$ S" i' x摰鋆 package.rpm, 銝血券*蝷箏鋆鞈閮摰鋆脣漲7 X1 a% f/ N8 n' g, S, P
rpm -ivh package.rpm9 p8 c) ^5 X* `9 E" _
6 @, j8 }( b( v5 O. J3 b$ c
典鋆蝝, rpm 閮剜瑼X亦訾, 嗅臭誑 nodeps (敹賜亦訾) force (撘瑕嗅鋆) 蝜, 雿銝撱箄降璅, 箏函訾批憿, 憟隞嗅鋆敺銝臬臭誑甇撣賊雿
- ]& v0 i# [, \" `' J
4 X0 s) W/ m7 l3 R7 b( y# |' `湔啣隞/ A4 G* r4 S2 g2 M0 m% H( O# v7 {. d. J/ [
, K* p& E- d. c% E湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 湔亙鋆:( E6 F, {+ F% D' |7 C
rpm -Uvh package.rpm
# T0 J0 ?* a% t. Q5 J, r6 U7 i8 K# L2 }5 @+ A, y
湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 銝摰鋆:
5 `; c; i& p9 A3 n( Q0 X' [rpm -Fuh package.rpm- X% i% W+ D9 S0 ], M0 O L
/ ^0 [1 x! Y6 A) |" E8 n" @憒銝 YUM 蝝 kernel, 航芾銝頛 rpm 瑼蝝, 隢雿輻 rpm -ivh 摰鋆, 銝閬雿輻其誑銝蝝賊, 箔蝙典蝝賊, rpm 摰鋆蝘駁方 kernel, 砌 kernel 銝賡璈閬暻餌拐2 |* ` s+ [2 D! p! l& W$ {* }0 H% ?
1 u; U: `2 Z2 ^1 W7 `/ N蝘駁文隞- |* P) b' X9 Y) L% M3 d5 Y% L7 B
1 n$ k/ M* `$ Z! n: D! K
蝘駁 package 憟隞:
r( u; y% x- `" ~( n( orpm -e package
e0 m" M& \7 f& y+ o- P" `, b% r I, o( m' @
|
|