(OK) dnf - Fedora 23 - kernel - 安装内核 - kernel-4.4.3-300.fc23


Information for package kernel
http://koji.fedoraproject.org/koji/packageinfo?packageID=8



dnf install kernel-4.4.3-300.fc23
dnf install kernel-devel-4.4.3-300.fc23
dnf install kernel-headers-4.4.3-300.fc23
dnf install kernel-debug-devel-4.4.3-300.fc23


 kernel                x86_64        4.4.3-300.fc23        fedora        46 k
 kernel-core            x86_64        4.4.3-300.fc23        fedora        20 M
 kernel-modules            x86_64        4.4.3-300.fc23        fedora        18 M

 kernel-modules-extra        x86_64        4.4.3-300.fc23        fedora

 kernel-devel            x86_64        4.4.3-300.fc23        fedora        9.8 M

 kernel-headers            x86_64        4.4.3-300.fc23        fedora        987 k

 kernel-debug-devel        x86_64        4.4.3-300.fc23        fedora        9.9 M


Information for build kernel-4.4.3-300.fc23
http://koji.fedoraproject.org/koji/buildinfo?buildID=715046

wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-debug-devel-4.4.3-300.fc23.x86_64.rpm
wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-devel-4.4.3-300.fc23.x86_64.rpm
wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-core-4.4.3-300.fc23.x86_64.rpm
wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-modules-4.4.3-300.fc23.x86_64.rpm
wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-modules-extra-4.4.3-300.fc23.x86_64.rpm
wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-4.4.3-300.fc23.x86_64.rpm
wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-headers-4.4.3-300.fc23.x86_64.rpm

下面按顺序 执行

rpm -ivh  kernel-debug-devel-4.4.3-300.fc23.x86_64.rpm
rpm -ivh  kernel-devel-4.4.3-300.fc23.x86_64.rpm
rpm -ivh  kernel-core-4.4.3-300.fc23.x86_64.rpm
rpm -ivh  kernel-modules-4.4.3-300.fc23.x86_64.rpm
rpm -ivh  kernel-modules-extra-4.4.3-300.fc23.x86_64.rpm
rpm -ivh  kernel-4.4.3-300.fc23.x86_64.rpm

暂时没有执行
rpm -ivh  kernel-headers-4.4.3-300.fc23.x86_64.rpm

[root@localhost kernel-rpm]# rpm -ivh  kernel-headers-4.4.3-300.fc23.x86_64.rpm
错误:依赖检测失败:
    kernel-headers < 4.4.8-300.fc23 被 (已安裝) kernel-headers-4.4.8-300.fc23.x86_64 取代

-----------------------------------------------------------------------------
rpm --oldpackage -ivh  kernel-debug-devel-4.4.3-300.fc23.x86_64.rpm
rpm --oldpackage -ivh  kernel-devel-4.4.3-300.fc23.x86_64.rpm
rpm --oldpackage -ivh  kernel-core-4.4.3-300.fc23.x86_64.rpm
rpm --oldpackage -ivh  kernel-modules-4.4.3-300.fc23.x86_64.rpm
rpm --oldpackage -ivh  kernel-modules-extra-4.4.3-300.fc23.x86_64.rpm
rpm --oldpackage -ivh  kernel-4.4.3-300.fc23.x86_64.rpm



下面由于版本问题,暂时不执行

rpm --oldpackage -ivh  kernel-headers-4.4.3-300.fc23.x86_64.rpm


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
dnf - Fedora23——删除多余不用的内核
http://blog.csdn.net/ztguang/article/details/51302063
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[root@localhost ~]# uname -r
uname -r

4.3.5-300.fc23.x86_64

[root@localhost ~]# rpm -qa | grep kernel |grep 4.4.8
rpm -qa | grep kernel |grep 4.4.8

kernel-core-4.4.8-300.fc23.x86_64
kernel-headers-4.4.8-300.fc23.x86_64
kernel-modules-4.4.8-300.fc23.x86_64
kernel-modules-extra-4.4.8-300.fc23.x86_64
kernel-devel-4.4.8-300.fc23.x86_64
kernel-4.4.8-300.fc23.x86_64


[root@localhost ~]#
dnf remove kernel-core-4.4.8-300.fc23.x86_64
dnf remove kernel-devel-4.4.8-300.fc23.x86_64

dnf remove kernel-modules-4.4.8-300.fc23.x86_64
dnf remove kernel-modules-extra-4.4.8-300.fc23.x86_64
dnf remove kernel-4.4.8-300.fc23.x86_64

下面这条命令暂时不执行,因为要删除的包太多
dnf remove kernel-headers-4.4.8-300.fc23.x86_64

[root@localhost ~]# dnf remove kernel-headers-4.4.8-300.fc23.x86_64
===================================================================
移除  226 软件包

安装大小:754 M
确定吗?[y/N]: n
操作中止。

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

删除内核:4.3.5

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

[root@localhost ~]#  rpm -qa | grep kernel |grep 4.3.5

kernel-modules-4.3.5-300.fc23.x86_64
kernel-4.3.5-300.fc23.x86_64
kernel-devel-4.3.5-300.fc23.x86_64
kernel-core-4.3.5-300.fc23.x86_64
kernel-modules-extra-4.3.5-300.fc23.x86_64
kernel-debug-devel-4.3.5-300.fc23.x86_64

[root@localhost ~]#

dnf remove kernel-modules-4.3.5-300.fc23.x86_64
dnf remove kernel-4.3.5-300.fc23.x86_64
dnf remove kernel-devel-4.3.5-300.fc23.x86_64
dnf remove kernel-core-4.3.5-300.fc23.x86_64
dnf remove kernel-modules-extra-4.3.5-300.fc23.x86_64
dnf remove kernel-debug-devel-4.3.5-300.fc23.x86_64
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值