RPM Redhat 頠隞嗥恣蝟餌絞, 典神 Redhat Package Manager, Redhat, Fedora CentOS 蝑臭誑 RPM 蝪∪桀鋆, 蝘駁文湔啣隞嗚隞乩 RPM 雿銝鈭撣貉冽:9 A. F8 X( h% {
/ x3 q3 Q) }* k8 j* v; {
亥岷憟隞
" Q5 o; _3 m) Z' l H/ ~憿舐內撌脣鋆憟隞:/ c( y0 _' O) d4 a0 R; U
rpm -qa( I% W1 B F3 F3 s9 x, M
% V# v! s4 E: F+ n
憒亥岷祉孵摮銝脣隞, 靘憒亥岷撌脣鋆 php 憟隞, 臭誑璅:& \9 t' T, q. i% L5 K/ F8 D5 y
rpm -qa | grep php
4 S# C5 ?: }0 p7 l. b# D9 r, H0 I! }7 I' P P
亦孵憟隞嗥摰鋆鞈閮, 靘憒 php-mysql:- p% C; p( i* F' C0 y# h
rpm -qi php-mysql' ^/ r: W. d8 H4 c4 `
$ E' N) U# ~) u* c8 U7 }6 F( A: H
亦憟隞嗆摰鋆瑼獢:
4 L# m8 V. e/ p" [/ _& F9 m- Yrpm -ql php-mysql& V# i9 u% W. S
# J8 u8 j/ ~* r2 f摰鋆憟隞
" V+ A& [' {! x1 @, \2 t5 z- F6 }! E5 h( Q2 K0 Q" K4 o
摰鋆 package.rpm, 銝血券*蝷箏鋆鞈閮摰鋆脣漲* V, w/ ~% F1 J8 B) b
rpm -ivh package.rpm+ l& ^% v" t, H$ Y% X1 ^
C; F( B/ E% l) ^* }3 f典鋆蝝, rpm 閮剜瑼X亦訾, 嗅臭誑 nodeps (敹賜亦訾) force (撘瑕嗅鋆) 蝜, 雿銝撱箄降璅, 箏函訾批憿, 憟隞嗅鋆敺銝臬臭誑甇撣賊雿
2 g+ z, |, N; Z, N6 o! \7 q* U; S( f4 G8 c0 Z9 ?/ j7 |) I
湔啣隞$ \ x$ z* M- j5 v( P5 o8 U
, W7 h+ i W" D2 ^
湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 湔亙鋆:! P, F# {3 S% J. J. c
rpm -Uvh package.rpm
2 t' _$ w$ l0 G' ]' g' H7 [& Y' l, W5 ?( N8 v4 @5 n
湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 銝摰鋆:
1 X: v' @. @/ Y6 f5 l. Frpm -Fuh package.rpm
" O1 q: Y8 a, J$ A3 q. a9 A1 O0 n+ X- A# O0 F
憒銝 YUM 蝝 kernel, 航芾銝頛 rpm 瑼蝝, 隢雿輻 rpm -ivh 摰鋆, 銝閬雿輻其誑銝蝝賊, 箔蝙典蝝賊, rpm 摰鋆蝘駁方 kernel, 砌 kernel 銝賡璈閬暻餌拐
* M' h! M @$ c4 _7 M+ D- [
1 O. R! v+ t' \: G8 u蝘駁文隞
/ u4 X. @$ J) _; c7 r" f% J2 k5 L& F8 W" X! ~2 A: ]' N2 p
蝘駁 package 憟隞:
9 K0 K2 k3 V. E+ L1 Trpm -e package: J6 k, i) d& g) v1 u
b6 x( a4 C: l7 @$ l; z |
|