首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何更改Linux内核版本

如何更改Linux内核版本
EN

Unix & Linux用户
提问于 2016-03-02 18:38:03
回答 1查看 5.3K关注 0票数 0

我已经下载并解压缩了Linux内核。内核源文件中的哪个文件(S)负责在uname中显示版本字符串?我想把版本设置为10,没有点10.0.5

代码语言:javascript
复制
# uname -r
Linux 10
EN

回答 1

Unix & Linux用户

发布于 2016-03-02 18:43:52

它是在顶级Makefile中描述的。

例如,从这里开始

代码语言:javascript
复制
VERSION = 4
PATCHLEVEL = 5
SUBLEVEL = 0
EXTRAVERSION = -rc6
NAME = Blurry Fish Butt

# *DOCUMENTATION*
# To see a list of typical targets execute "make help"
# More info can be located in ./README
# Comments in this file are targeted only to the developer, do not
# expect to learn how to build the kernel reading this file.
票数 3
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/267147

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档