linux - yum update 到底做了什么工作
高洛峰
高洛峰 2017-04-17 15:32:20
0
4
526

yum update后,会得到类下面列表

freetype x86_64 2.3.11-17.el6 base 361 k
gawk x86_64 3.1.7-10.el6_7.3 base 780 k
gcc x86_64 4.4.7-17.el6 base 10 M
gcc-c++ x86_64 4.4.7-17.el6 base 4.7 M

最后

Total size: 292 M
Total download size: 291 M

yum update不是更新文件列表吗,为什么会下载这么多东西?

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(4)
伊谢尔伦

yum makecache ≈ apt-get update
yum update ≈ apt-get upgrade
Did you forget it?

刘奇

You cannot directly enter yum update followed by the name of the service you want to upgrade. This is the entire upgrade including the system kernel, which can easily cause the system to crash.

Ty80

man yum

伊谢尔伦

yum update will update the system, and may update the kernel and cause the system to crash

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template