dnf - How to install specific Kernel version

本文将指导您如何使用yum命令列出系统可用的内核版本,并通过yum直接安装所需的内核版本。此外,提供了解决非yum列出版本的情况,推荐使用Koji下载并安装rpm包。同时强调建议始终使用Fedora提供的最新稳定内核版本。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >



https://ask.fedoraproject.org/en/question/51444/how-to-install-specific-kernel-version/


You can use yum and list all kernel versions that are available (from the enabled repositories at your system) with the following command

yum list --showduplicates kernel

If the kernel you want is on the list, you can install it directly with yum.

yum install kernel-<and the version here>

If you want another kernel that is not listed, you can search at Koji download and install with rpm --oldpackage (as indicated at the link you've provided

or you can even try yum.

You have to know that,

It is stronly recommended, always using the latest stable kernel version that Fedora provides.

Last, but not least, you should exclude the kernel updates from yum, through the /etc/yum.conf file.

Append

exclude=kernel

at the end of the file. This should do the trick. That way, yum will not update the kernel(eg 3.14 version) with the latest (eg 3.15) version.



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值