On Mi, 15 dec 21, 10:33:05, David wrote: > On Wed, 15 Dec 2021 at 03:18, Kiyanovski, Arthur <akiy...@amazon.com> wrote: > > > TL;DR - How do I get the Linux headers or source code for kernel > > 3.16.0-4-amd64 Debian 8.0? > > The version number of a Debian kernel package is not the same > thing as the version number of the kernel that it contains. > > For example, here is what I see on the system I am running > here today: > > $ dpkg -l | grep linux-image > ii linux-image-5.10.0-8-amd64 5.10.46-5 > amd64 Linux 5.10 for 64-bit PCs (signed) > $ uname -r > 5.10.0-8-amd64 > $ uname -v > #1 SMP Debian 5.10.46-5 (2021-09-23) > > So, to know your kernel version, you need to ask > the system for 'uname -v'.
The same information is already provided by `dpkg -l` above ;) When looking for Debian packages the version number provided by `dpkg -l` or `apt list`, etc. should be used as it often doesn't match the software's internal version. $ neomutt -v | head -1 NeoMutt 20180716 $ apt list --installed neomutt Listing... Done neomutt/oldstable,now 20180716+dfsg.1-1+deb10u2 arm64 [installed] N: There is 1 additional version. Please use the '-a' switch to see it Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
signature.asc
Description: PGP signature