Ubuntu18.04手动升级内核
2021/11/7 7:13:38
本文主要是介绍Ubuntu18.04手动升级内核,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
提要
公司配发新电脑,硬件无法在Ubuntu18.04下驱动,升级Ubuntu20.04无法兼容部分开发环境,希望手动升级内核增加新硬件支持。
方法
查了一圈,主流方法推荐UKUU进行升级,需要添加ppa源等操作,个人觉得比较麻烦。
偶然发现了可以使用deb包的方法升级内核,决定尝试。
首先登陆The Linux Kernel Archives查询得到最新内核稳定版本 Latest Release 5.15
随后访问Ubuntu Kernel网站获取最新内核deb文件
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.15/
平台选择amd64内核种类分为generic与low-latency官方区别如下
The Low-Latency Kernel included in Ubuntu Studio (and available in the Ubuntu repositories) does not allow such malicious code from locking-out a user from their machine. It does contain other optimizations, such as Preempt-RT being enabled in the kernel configuration, to achieve the lowest possible latency for audio and other applications, while keeping the user interface usable. Latency as low as 0.1 millisecond can and has been achieved using this kernel.
因此不涉及音频处理的普通用户选择通用版即可,对应四个下载文件如下:
amd64/linux-headers-5.15.0-051500-generic_5.15.0-051500.202110312130_amd64.deb amd64/linux-headers-5.15.0-051500_5.15.0-051500.202110312130_all.deb amd64/linux-image-unsigned-5.15.0-051500-generic_5.15.0-051500.202110312130_amd64.deb amd64/linux-modules-5.15.0-051500-generic_5.15.0-051500.202110312130_amd64.deb
下载完成后使用sudo dpkg -i linux*.deb
进行安装,重启后硬件驱动生效。
参考
The Linux Kernel Archives
UbuntuStudio/RealTimeKernel - Community Help Wiki
这篇关于Ubuntu18.04手动升级内核的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-06-26结对编程到底难不难?答案在这里
- 2024-06-19《2023版Java工程师》课程升级公告
- 2024-06-15matplotlib作图不显示3D图,怎么办?
- 2024-06-1503-Loki 日志监控
- 2024-06-1504-让LLM理解知识 -Prompt
- 2024-06-05做软件测试需要懂代码吗?
- 2024-06-0514-ShardingSphere的分布式主键实现
- 2024-06-03为什么以及如何要进行架构设计权衡?
- 2024-05-31全网首发第二弹!软考2024年5月《软件设计师》真题+解析+答案!(11-20题)
- 2024-05-31全网首发!软考2024年5月《软件设计师》真题+解析+答案!(21-30题)