RPM Redhat 頠隞嗥恣蝟餌絞, 典神 Redhat Package Manager, Redhat, Fedora CentOS 蝑臭誑 RPM 蝪∪桀鋆, 蝘駁文湔啣隞嗚隞乩 RPM 雿銝鈭撣貉冽:, \9 I' A b# _# P' j0 f
5 m+ k! Y9 J! h% [# Z6 Y! q6 u5 l亥岷憟隞* e, \9 T6 L5 Q2 L: K1 L- Y2 t
憿舐內撌脣鋆憟隞:& y3 H' `$ Q; e
rpm -qa2 ^- y& M$ j/ A: E4 M f% V: K
& k* {! w" V$ D# o6 N f憒亥岷祉孵摮銝脣隞, 靘憒亥岷撌脣鋆 php 憟隞, 臭誑璅:
( N" q( W8 z2 n J( `rpm -qa | grep php
! O7 x) o' ?4 q6 |! b+ S7 n/ O: H: V0 V3 j& v3 a
亦孵憟隞嗥摰鋆鞈閮, 靘憒 php-mysql:4 F+ G, ~& A; S; j' ?
rpm -qi php-mysql! }: C- p3 A s7 l
0 ]% ^' Q2 L1 G6 R% T. p" N4 _
亦憟隞嗆摰鋆瑼獢:
) S) ^, |( b& a2 `, Arpm -ql php-mysql
; q4 F8 e# [: J- {: x
$ M# E$ x( ?+ \) l9 U摰鋆憟隞# k3 O" I3 Z) j" }2 F/ e
6 T- z* O' C8 I0 V* ?$ N
摰鋆 package.rpm, 銝血券*蝷箏鋆鞈閮摰鋆脣漲- a, j5 g* p( u5 G3 l8 e$ w' a; L
rpm -ivh package.rpm
i M* n. P5 {) \- Z& c3 ]# }. \) T3 p; y
典鋆蝝, rpm 閮剜瑼X亦訾, 嗅臭誑 nodeps (敹賜亦訾) force (撘瑕嗅鋆) 蝜, 雿銝撱箄降璅, 箏函訾批憿, 憟隞嗅鋆敺銝臬臭誑甇撣賊雿
4 s6 |0 A v- F9 Q5 _$ i
) `% e {/ t2 Q1 ~# b3 P湔啣隞
5 `6 X6 ?2 h, C3 |$ L) L% q* }/ e4 h9 b) M9 j0 }
湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 湔亙鋆:
. t8 F4 T0 w# G9 Yrpm -Uvh package.rpm2 S# f, T0 |, ?* C. i- `( n
1 p1 q8 J2 w2 V8 ?; |( {! v湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 銝摰鋆:4 k7 E S4 ~/ H( E3 C( B9 c) W* ]* f
rpm -Fuh package.rpm' e7 `# J$ l9 X
. a! @% M, q' P8 z0 |- } s
憒銝 YUM 蝝 kernel, 航芾銝頛 rpm 瑼蝝, 隢雿輻 rpm -ivh 摰鋆, 銝閬雿輻其誑銝蝝賊, 箔蝙典蝝賊, rpm 摰鋆蝘駁方 kernel, 砌 kernel 銝賡璈閬暻餌拐
3 N3 \# Q* Q. d. U' o! C' i/ t' ~2 e! {0 u; v0 a
蝘駁文隞
! T# Q$ g- D1 U P( z' \7 i
8 l4 ~1 X# ]. O蝘駁 package 憟隞:
4 l0 i: Q( `) Q7 o- Y# Brpm -e package- L: N$ q5 ]/ G; ^
$ D& a# k& h/ F! S5 g4 r8 j3 m7 t |
|