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.
This commit is contained in:
Cheng-Yang Chou 2025-04-12 02:12:25 +08:00
parent 9ca77904b8
commit 2d3ec07a63

View File

@ -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: