It'd be really nice, since they have such a treasure-trove of information. If anyone knows of a better way to search DistroWatch's Database, please chime in. Play around with that, and you might be able to get a nice little tool to do exactly what you're trying to do. But the format for the query to generate the results page for a given kernel version would be as follows:ĭ/search.php?pkg=linux&pkgver= VERSION&distrorange=InAny#pkgsearch This command should work on all Linux distributions that have the lsb-release package installed: lsbrelease -a No LSB modules are available. If you dont see Kernel version on the Software information menu. lsbrelease command The lsbrelease utility displays LSB (Linux Standard Base) information about the Linux distribution. This box displays your Androids kernel version. You can also use cat /proc/cmdline to find the kernel path, but note that this path is relative to the root image at boot time, so / likely means /boot/ in the running system. I don't know of any DistroWatch API, so if you need to do this programmatically, you'll probably have to do some html parsing. Scroll down and find the Kernel version box. 2 You can use uname -r to find out the version you're running and then look for a file in /boot with that name. Searching for a specific version of that package (which corresponds to the kernel version) will give you a nice list of distributions followed by the releases of that distribution that ship with that package version. In this case, you're interested in the linux package. I create all the content myself, with no help from AI or ML. nixCraft: Privacy First, Reader Supported nixCraft is a one-person operation. This page shows how to list kernel using the command line. You can gather this information using their advanced search page, which has a cool feature that allows you to search for distribution releases that include a specific version of a package. How do I find out current kernel version You can use standard package listing command to list installed Linux kernels on your Linux operating systems. But the first step you'd need to accomplish this is a database that catalogues all of this sort of information for each distribution and their respective releases. So I'm not sure if you're looking to do this programmatically or not.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |