0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Linux kernel version の確認

Posted at

git から clone してきた linux kernel のソースコードのカーネルバージョンがなんだっけ?ってなった時に確認する手順のメモ。

git clone した kernel code の ディレクトリ直下にある Makefile の先頭(SPDX License の記述があるので 2 行目から)の VERSION, PATCHLEVEL, SEBLEVEL を確認する。

$ cd linux
$ cat Makefile
# SPDX-License-Identifier: GPL-2.0
VERSION = 5
PATCHLEVEL = 8
SEBLEVEL = 0
EXTRAVERSION =
:
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?