首页 > 其他 > 详细

yum syntax to update all except Kernel

时间:2018-09-16 14:36:44      阅读:208      评论:0      收藏:0      [点我收藏+]

yum syntax to update all except Kernel

The syntax is:

yum --exclude=packgeName\* update
yum --exclude=packgeName1\* --exclude=packgeName2\* update
yum -x ‘packageName*‘ update
yum -x ‘packageName1*‘ -x ‘packageName2*‘ update

Examples

To prevent yum command from updating the Kernel type:

yum -y --exclude=kernel\* update

OR

yum -y -x ‘kernel*‘ update

yum syntax to update all except Kernel

原文:https://www.cnblogs.com/SDYiHeng/p/9655114.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!