RPM Redhat 頠隞嗥恣蝟餌絞, 典神 Redhat Package Manager, Redhat, Fedora CentOS 蝑臭誑 RPM 蝪∪桀鋆, 蝘駁文湔啣隞嗚隞乩 RPM 雿銝鈭撣貉冽:" c% @; l( x/ r$ L; k9 x
( f; w. }; B8 O6 c8 P& Z
亥岷憟隞9 X" b+ i, e+ w4 \* E1 v
憿舐內撌脣鋆憟隞:
9 s7 ?- T w2 `4 U6 U- Zrpm -qa
4 B" L$ \& W% U( E
/ C+ y5 z# `% I憒亥岷祉孵摮銝脣隞, 靘憒亥岷撌脣鋆 php 憟隞, 臭誑璅:
8 c- |, Q. K' p: Jrpm -qa | grep php
* Y3 y. T, l' ]; t# h
8 N7 M- m1 I% @" W; y' A6 K亦孵憟隞嗥摰鋆鞈閮, 靘憒 php-mysql:
+ @3 d1 Y$ ^8 j8 G( d Brpm -qi php-mysql6 D L- `* x1 J$ K
4 m# U3 j& v7 R1 [% i# o/ ~: H亦憟隞嗆摰鋆瑼獢:# c6 l% t( W0 A& ~' u1 x6 U
rpm -ql php-mysql
' e& ~, R6 U, `1 u/ z2 a+ ]( Q# c% x' e3 I1 B% j, h5 p% a
摰鋆憟隞: Z& n; `( g: [* ^( F+ e ^
9 g3 C( T, x& y1 G8 p1 C摰鋆 package.rpm, 銝血券*蝷箏鋆鞈閮摰鋆脣漲3 @+ u: v+ y U
rpm -ivh package.rpm
|& E$ X# q$ m* s( c
; H/ f5 S3 q/ ]9 ^2 A. V+ {% D典鋆蝝, rpm 閮剜瑼X亦訾, 嗅臭誑 nodeps (敹賜亦訾) force (撘瑕嗅鋆) 蝜, 雿銝撱箄降璅, 箏函訾批憿, 憟隞嗅鋆敺銝臬臭誑甇撣賊雿
, ^4 \6 [5 ^2 T# k- p
' P: |! X6 C# x8 k湔啣隞
( c: A' ~4 V, B. c1 h, }& W! e% {4 w0 M2 j+ L6 }' F
湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 湔亙鋆:1 x) }& t6 p- d" Y
rpm -Uvh package.rpm
|$ b( ?* f, V( z5 g# }0 x7 s1 y
& m; \2 z* E; u9 y2 G湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 銝摰鋆:" R& z; ^/ L0 w0 H2 |" W& i
rpm -Fuh package.rpm
. t3 m$ ]* g1 b: {7 O2 g ^% \
' J, ?0 c+ t( m" S7 t2 M憒銝 YUM 蝝 kernel, 航芾銝頛 rpm 瑼蝝, 隢雿輻 rpm -ivh 摰鋆, 銝閬雿輻其誑銝蝝賊, 箔蝙典蝝賊, rpm 摰鋆蝘駁方 kernel, 砌 kernel 銝賡璈閬暻餌拐
1 W. p% R7 t' V6 @3 \: R$ B2 C9 u# B* B$ ^' @. ]: g, b: |/ \- Y
蝘駁文隞$ Y- V# x/ I$ e2 @! N& f+ o
. m2 O/ {8 k1 u0 w& R蝘駁 package 憟隞:
; u7 x: X$ s/ Orpm -e package
+ p, [$ C/ x4 K0 L) I$ S" `9 x3 Q Z/ \3 ?
|
|