Skip to content

Commit 2d3ec07

Browse files
committed
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.
1 parent 9ca7790 commit 2d3ec07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lkmpg.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ \section{Headers}
210210
The following command provides information on the available kernel header files.
211211
Then for example:
212212
\begin{codebash}
213-
sudo apt-get install kmod linux-headers-5.4.0-80-generic
213+
sudo apt-get install linux-headers-`uname -r`
214214
\end{codebash}
215215

216216
On Arch Linux:

0 commit comments

Comments
 (0)