How do I tell what package or release a Linux version is?
Linux release or package names are typically much simpler than the version names, and are usually the names given when one hears about Linux "versions", for example Red Hat 5, ore SUSE 8.
The real "Version" names are more complicated, like these:
2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT 2001 i686 unknown
2.4.18-e.12smp #1 SMP Thu Oct 17 15:13:01 EDT 2002 ia64 unknown
The two bits of information are acquired differently:
- For the package or release name, use the Linux command: cat /etc/issue
- For the release version number, use the Linux command: uname -a
Here are some examples:
Red Hat Linux release 7.2 (Enigma)
Linux satchmo 2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT 2001 i686 unknown
Red Hat Linux Advanced Workstation release 2.1AW (Derry)
Linux itanium2 2.4.18-e.12smp #1 SMP Thu Oct 17 15:13:01 EDT 2002 ia64 unknown
Welcome to SuSE SLES 8 (powered by UnitedLinux 1.0) (AMD64)
Linux opt4cal1 2.4.19-SMP #1 SMP Mon Mar 31 23:48:08 UTC 2003 x86_64 unknown