linux_release_tag - prints kernel version of a Linux kernel Makefile
linux_release_tag [ MAKEFILE ] [ FORMAT ]
This script extracts the version information from a Linux kernel makefile and prints it according to the format specification indicated by FORMAT (which, by default, prints something in the form of '2.6.24-rc13-git42'.)
MAKEFILE must be a path to a valid kernel Makefile. If not specified, it defaults to /usr/src/linux/Makefile.
FORMAT is a string containing one or more of the following tags, which are substituted by the relevant items from the kernel makefile:
%v - VERSION %p - PATCHLEVEL %s - SUBLEVEL %e - EXTRAVERSION %n - NAME
If not specified, FORMAT defaults to "%v.%p.%s%e".
crucible, WWW::PkgFind, Test::Parser, Linux::Distribution
Bryce Harrington [bryce at osdl dot org]
Copyright (C) 2006 Bryce Harrington and Open Source Development Labs All Rights Reserved.
This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Revision: $Revision: 1.10 $
To install Linux::Bootloader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Linux::Bootloader
CPAN shell
perl -MCPAN -e shell install Linux::Bootloader
For more information on module installation, please visit the detailed CPAN module installation guide.