mirror of
https://github.com/sysprog21/lkmpg.git
synced 2025-04-24 05:24:06 +08:00
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:
parent
9ca77904b8
commit
2d3ec07a63
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user