kernel-get 快速安装ubuntu网站(ppa)的deb内核软件包[2018-5-7更新]

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
头像
careone
帖子: 805
注册时间: 2007-12-17 21:41
送出感谢: 71 次
接收感谢: 24 次

kernel-get 快速安装ubuntu网站(ppa)的deb内核软件包[2018-5-7更新]

#1

帖子 careone » 2018-03-19 16:44

[deb安装包]kernel-get 快速安装ubuntu网站(ppa)的deb内核软件包

* kernel-get deb 包下载地址:
https://github.com/kuiba1949/kernel-get/tree/master
[2018-5-7更新]
kernel-get 2.1.deb
修复了 64位的 x86_64, amd64系统无法使用的缺陷;
kernel-get_2.1_all.deb
(15.38 KiB) 下载 7 次
* 旧版本(不适用于64位的 x86_64, amd64系统):
2018.3.19
kernel-get 2.0.5 .deb
一个命令行工具。请在终端中运行。

* 可以自动识别机器的硬件架构(i386/amd64),自动下载对应的 DEB 包;

* 某些版本的内核,因为 Ubuntu 官方进行 PPA 编译时失败,对应的内核
软件包会有缺失,请自行确认,明确风险!

* 原则上 ubuntu PPA 的内核 DEB 包,适用于 Ubuntu, Debian, UbuntuKylin;
深度Linux 版本,适用性暂不确定;

警告:内核安装和升级有风险,新手慎用!!!


说明:
** 普通用户可以下载内核 deb 包(但不能安装);
** root 用户可以在下载完成后,选择是否安装;

** 内核 deb 软件包来自:
http://kernel.ubuntu.com/~kernel-ppa/mainline/

** 最新的内核升级版本数据来自:
https://www.kernel.org/

** 生成的列表资源文件 (.deb.list),保存在 ~/kernel/list/ 目录;
** 下载后的内核 deb 包,保存在 ~/kernel/deb/ 目录;
* 用法1:
打开终端,先运行带内核版本号的命令(前面加个小写字母 v ),自动联网生成列表数据;

代码: 全选

kernel-get v4.15.10
再运行一次(不带任何参数!)

代码: 全选

kernel-get
* 用法2:如果不确定版本号应该怎么写,可以运行

代码: 全选

kernel-get --lts -k
提示: --lts 选项要放在前面, -k 放在后面!
输出信息中会有相关信息,如
* fetch latest LTS (Long Term Support) kernel version data,
from: https://www.kernel.org/

* download html file 'kernel-org.htm'...
* show file 'kernel-org.txt'
------------------
mainline: 4.16-rc6 2018-03-19
stable: 4.15.10 2018-03-15
longterm: 4.14.27 2018-03-15
longterm: 4.9.88 2018-03-18
longterm: 4.4.122 2018-03-18
longterm: 4.1.50 2018-03-05
longterm: 3.18.100 [EOL] 2018-03-18
longterm: 3.16.55 2018-03-03
longterm: 3.2.100 2018-03-03
------------------
* fetch and save kernel versions data,
from: http://kernel.ubuntu.com/~kernel-ppa/mainline/
save to: /home/new/kernel/list/kernel-ppa.txt

* creat file: kernel-ppa.txt

Done.
please run 'kernel-get' again, and select a Linux kernel to download.
* save html file 'kernel-ppa.htm' ...

* read file 'kernel-org.txt' ...
(check 'longterm/mainline/stable' kernel versions)

* show lastest kernel versions (kernel-ppa.txt)...
------------------
2034 v4.16-rc6 [mainline]
2027 v4.15.10 [stable]

2008 v4.14.27 [longterm]
1881 v4.9.88 [longterm]
1708 v4.4.122 [longterm]
1532 v4.1.50 [longterm]
1415 v3.18.100 [longterm]
1293 v3.16.55 [longterm]
534 v3.2.100 [longterm]

1293 v3.16.55 [***]
------------------
示例2:
命令:

代码: 全选

kernel-get v4.15.10
* download data and kernel packages from:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15.10/

* creat .deb.list package list file, and save to:
/home/new/kernel/list/v4.15.10.deb.list

* show file: /home/new/kernel/list/v4.15.10.deb.list
------------------
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15.10/
description=20180315

linux-headers-4.15.10-041510_4.15.10-041510.201803152130_all.deb
linux-headers-4.15.10-041510-generic_4.15.10-041510.201803152130_amd64.deb
linux-headers-4.15.10-041510-generic_4.15.10-041510.201803152130_arm64.deb
linux-headers-4.15.10-041510-generic_4.15.10-041510.201803152130_armhf.deb
linux-headers-4.15.10-041510-generic_4.15.10-041510.201803152130_i386.deb
linux-headers-4.15.10-041510-generic_4.15.10-041510.201803152130_ppc64el.deb
linux-headers-4.15.10-041510-generic_4.15.10-041510.201803152130_s390x.deb
linux-headers-4.15.10-041510-generic-lpae_4.15.10-041510.201803152130_armhf.deb
linux-image-4.15.10-041510-generic_4.15.10-041510.201803152130_amd64.deb
linux-image-4.15.10-041510-generic_4.15.10-041510.201803152130_arm64.deb
linux-image-4.15.10-041510-generic_4.15.10-041510.201803152130_armhf.deb
linux-image-4.15.10-041510-generic_4.15.10-041510.201803152130_i386.deb
linux-image-4.15.10-041510-generic_4.15.10-041510.201803152130_ppc64el.deb
linux-image-4.15.10-041510-generic_4.15.10-041510.201803152130_s390x.deb
linux-image-4.15.10-041510-generic-lpae_4.15.10-041510.201803152130_armhf.deb
------------------

* check log (v4.15.10.log) ...
Build for i386 succeeded
------------------
Build for i386 succeeded (see BUILD.LOG.i386):
linux-headers-4.15.10-041510_4.15.10-041510.201803152130_all.deb
linux-headers-4.15.10-041510-generic_4.15.10-041510.201803152130_i386.deb
linux-headers-4.15.10-041510-lowlatency_4.15.10-041510.201803152130_i386.deb
linux-image-4.15.10-041510-generic_4.15.10-041510.201803152130_i386.deb
linux-image-4.15.10-041510-lowlatency_4.15.10-041510.201803152130_i386.deb

Build for armhf succeeded (see BUILD.LOG.armhf):
------------------
Done.
please run 'kernel-get' again, and select a Linux kernel to download.
魁拔不死,天下不宁。
魁拔既死,天下不平。
--------------
Careone <emacslocale^126.com>
https://sourceforge.net/projects/emacslocale/files/
头像
careone
帖子: 805
注册时间: 2007-12-17 21:41
送出感谢: 71 次
接收感谢: 24 次

Re: kernel-get 快速安装ubuntu网站(ppa)的deb内核软件包[2018-5-7更新]

#2

帖子 careone » 2018-05-07 13:35

https://github.com/kuiba1949/kernel-get/tree/master

引用:
[2018-5-7更新]
kernel-get 2.1.deb
修复了 64位的 x86_64, amd64系统无法使用的缺陷
魁拔不死,天下不宁。
魁拔既死,天下不平。
--------------
Careone <emacslocale^126.com>
https://sourceforge.net/projects/emacslocale/files/
回复

回到 “启动和引导”