RPM Redhat 頠隞嗥恣蝟餌絞, 典神 Redhat Package Manager, Redhat, Fedora CentOS 蝑臭誑 RPM 蝪∪桀鋆, 蝘駁文湔啣隞嗚隞乩 RPM 雿銝鈭撣貉冽:/ ?" _, `' A: ]% G
, q [3 o- j1 k7 o( Q
亥岷憟隞3 a+ w8 \) s# `5 t* l% o; m
憿舐內撌脣鋆憟隞:- ]9 N }" t( h
rpm -qa
9 A- R- K2 G# {1 i2 i! I- K5 c$ @* q* y. l' I
憒亥岷祉孵摮銝脣隞, 靘憒亥岷撌脣鋆 php 憟隞, 臭誑璅:
" `4 i* Z4 p4 |: U% mrpm -qa | grep php
) E# i; a" b, K" ?' y0 @0 f! J) ?" W
亦孵憟隞嗥摰鋆鞈閮, 靘憒 php-mysql:" v8 Z% P' O2 p# E. W
rpm -qi php-mysql4 k$ z7 D) a, Q1 g% e/ [
4 ^' b1 S0 E7 @' l, J/ Z& p6 `亦憟隞嗆摰鋆瑼獢:! A( p# U! a: Q3 ?2 r1 @& J
rpm -ql php-mysql
" n" V' E9 i6 S' i% r+ Y9 v$ K$ s( W, `5 P5 j( n- t I, L6 h |
摰鋆憟隞, j z1 ?: y$ U" p$ x! c- d
- Q2 G6 ]' D. R9 z
摰鋆 package.rpm, 銝血券*蝷箏鋆鞈閮摰鋆脣漲
1 Y0 ~) F. n1 c2 y4 o( c" zrpm -ivh package.rpm( o X$ M! _$ \+ \) d
- G6 _$ ~( }% t7 P. N8 r典鋆蝝, rpm 閮剜瑼X亦訾, 嗅臭誑 nodeps (敹賜亦訾) force (撘瑕嗅鋆) 蝜, 雿銝撱箄降璅, 箏函訾批憿, 憟隞嗅鋆敺銝臬臭誑甇撣賊雿
5 P n& P8 }* V! g' P9 j& X, D9 C3 W. b/ Y0 s
湔啣隞
2 m# T N/ B, A+ _& |& J# j5 @9 f7 j& x. W& [
湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 湔亙鋆:( f8 }. z4 k2 l5 i2 d
rpm -Uvh package.rpm
9 N8 y$ [! M. p. o( I) ~8 X' Z3 E. C( }2 k& u- B& {4 X d
湔 package.rpm, 憒蝟餌絞瘝摰鋆甇文隞, 銝摰鋆:
9 Y2 i5 q9 v; N& j, f& M0 V7 ]3 Grpm -Fuh package.rpm; x/ W+ v# z! l* A9 E8 o: v7 D
8 A- Z3 v# z$ a' t
憒銝 YUM 蝝 kernel, 航芾銝頛 rpm 瑼蝝, 隢雿輻 rpm -ivh 摰鋆, 銝閬雿輻其誑銝蝝賊, 箔蝙典蝝賊, rpm 摰鋆蝘駁方 kernel, 砌 kernel 銝賡璈閬暻餌拐
% }2 d! c+ @; H3 k5 h7 C+ U1 y1 D
; c3 t1 r' Q3 P% _) d [5 D, K蝘駁文隞
4 P; I) A+ q* H0 O' k P1 r8 P& e) C2 v# ~/ g4 Z9 {$ r' D
蝘駁 package 憟隞:0 B. S2 o* [; e/ q& B0 T; V4 }; B
rpm -e package
: z0 m6 m& M& a3 H0 n# |( |& b/ t0 z4 t
|
|