From: Chih-En Lin Date: Thu, 23 Feb 2023 12:53:27 +0000 (+0800) Subject: Relocate Archlinux code snippet to avoid confusion X-Git-Tag: latest~36^2 X-Git-Url: https://www.ivnss.com/gitweb/?a=commitdiff_plain;h=b0d4204405d8ae6cc1a66fe4b26f5f7345b41255;p=lkmpg Relocate Archlinux code snippet to avoid confusion Close #185 --- diff --git a/lkmpg.tex b/lkmpg.tex index 1976fee..e3325a3 100644 --- a/lkmpg.tex +++ b/lkmpg.tex @@ -204,17 +204,17 @@ sudo apt-get update apt-cache search linux-headers-`uname -r` \end{codebash} -On Arch Linux: -\begin{codebash} -sudo pacman -S linux-headers -\end{codebash} - This will tell you what kernel header files are available. Then for example: \begin{codebash} sudo apt-get install kmod linux-headers-5.4.0-80-generic \end{codebash} +On Arch Linux: +\begin{codebash} +sudo pacman -S linux-headers +\end{codebash} + \section{Examples} \label{sec:examples} All the examples from this document are available within the \verb|examples| subdirectory.