说说 update 和 upgrade 的区别

对于一个运维站长来说更新和升级是个绕不开的工作,update和upgrade这两个单词一定是都不陌生的,虽然都是升级或者更新的意思,很多站长很难搞懂两个单词到底有什么区别(其实在软件更新方面两个是可以通用的)。最 Z y w基本的讲,update是“更新”的意思,而upg{ % - lrade则是“升级”的意思。

upgrad` & oe V.S. update:英文解释

update:

  • to make sth more modern by adding new parts
  • to give sb the most recent information about sth

upgrade:

  • to makL p ^ [e a piece of machinery, computer system, etc. more powerful
  • to give7 x ! W J 3 sb a more important job
  • to give sb a better seat on a plane, room ib U * fn a hoteq * * e $ 5l, etx C D j 2 Y 1 ec. than the one that they have paidz R ` Y k 2 Y for

说说 update 和 upgrade 的区别

update和upgrade的主要区别

update是更新的意思,主要是为原有的东西增加新功能,或者对已有的部分做出更改等。比如,有人告诉你m u # r { ?他换了新手机号码,( 1 f , h e [ d你在你的手机上删掉了原有的号码并换成新的号码,那D - O = 9 @ w O么就是uA U : wpdate,而U ( K k # R不能用upgrade

upgrade是升级的意思,是指从较低级版本升级到高级的版本,这种升级往往伴有新功能的增加,因此也有update的意思。但是,如果是M t a h r A给予某人升职、坐飞机时的升舱等,只能用upgrade,而不能用update。

因此c N O & = ` m在计算机领域,软件、系统# N 6 y h y { ;的更新和升级往往是同一个意思,在这种环境中update和upgrade是可以通用的。只是往细了说upda) | * 6te是量上的变化,而upd x { Ygrade质上的变化。

说说 update 和 upgrade 的区别

yum updateupgrade的区别?

首先yum updateyum upgrade的功能是一样o f T f 3 0 P s的,都是将需要更新的package更新至软件源中的最新版。

唯一不同是:yum upgrade会删除旧版本的package,而yum update则会保留

注意!如果你的某些软件依赖旧版本的package,请使用yum update

附赠关于yuu = o s &m updateupgrade的区别英文最全解释:

yum update originally just did upgrades of packages to neO H Y L q , ) O Fw versions.
If, for example, foo-awesome obsoleted foo, yum update wouldn't offer
to upgrade fr= - _ com foo to foo-e ; W ] ^ @ Nawesome. Adding the^ m o e Q = S # --obsoletes flag to yum
update made it do the extra checks to also offer that upgradeq 5 U k path.
yum upgrade was added as (essentially) an alias for yum --obsoletes
update. Since this is thE 1 Ve behavior that almost everyone wants all of
the time, the configuration option obsoletes=1 was added to the
defaultE D } ( /etcG k R R y J G * 0/yum.conf, making yum update and yum upgrade equivalent on
anyI T r ` s ! _ ) recent, stock, Fedora/RHEL/CentOS/etc.

If you want to avoid kernel updates when you're running yum update,
you can just do yu: + R s U a d pm --exclude=kernel*o w z s 9 ) update. If you want automatic
updates onX : I } 8 U C = %, but you want to avoid automatic kernel upgrades, then
addin@ 0 5 _ & M t 9g tN / P R Y 7 c 8 Whe exclude to yum.conf is pro- N U O y abably the right answer.

There probably isn't a Right Answer for your question. RHEL and
RHEL-based distribux Q ftions don't have the same philosophy as the Dd i t T ~ G $ ebian
developers when it comes to updates, so the toy Z j F + Bols don't encourage the
same sorts of behavior.