ソースを参照

Update kernel header install command for clarity

Remove the redundant 'kmod' installation since it is already
installed earlier. Also replace the hardcoded kernel version
with 'uname -r' to improve portability and compatibility with
modern Linux distributions.
Cheng-Yang Chou 2 週間 前
コミット
2d3ec07a63
1 ファイル変更1 行追加1 行削除
  1. 1 1
      lkmpg.tex

+ 1 - 1
lkmpg.tex

@@ -210,7 +210,7 @@ apt-cache search linux-headers-`uname -r`
 The following command provides information on the available kernel header files.
 Then for example:
 \begin{codebash}
-sudo apt-get install kmod linux-headers-5.4.0-80-generic
+sudo apt-get install linux-headers-`uname -r`
 \end{codebash}
 
 On Arch Linux: