A summary of querying the Linux release number method

Source: Internet
Author: User

Understanding the version number of a Linux distribution is a very important thing, most software has requirements for the version of the system, the release version number does not match the software, The software will not be installed or unusable. This is a collection of popular Linux distribution version numbers in the market. With this article, the boss no longer worried that I installed the wrong software

1. Issue version number query
Debian version query:

<textarea class="crayon-plain print-no" style="-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; z-index: 0; opacity: 0; overflow: hidden;" readonly="" data-settings="dblclick"># cat/etc/debian_version5.0.7# Cat/etc/issuedebian Gnu/linux 5.0 \ n \l</textarea>
12345 # cat/etc/debian_version 5.0.7 # cat/etc/issueDebian GNU/Linux 5.0 \n \ l

Ubuntu version query:

<textarea class="crayon-plain print-no" style="-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; z-index: 0; opacity: 0; overflow: hidden;" readonly="" data-settings="dblclick"># cat/etc/lsb-releasedistrib_id=ubuntudistrib_release=10.04distrib_codename=luciddistrib_description= " Ubuntu 10.04.4 lts "# Cat/etc/issueubuntu 10.04.4 lts \ \l</textarea>
12345678 # cat/etc/lsb-release DISTRIB_ID< Span class= "Crayon-o" >=ubuntu distrib_release =10.04 distrib_codename=lucid distrib_description= "Ubuntu 10.04.4 LTS "  # cat/etc/issue ubuntu 10.04.4 LTS \n \< Span class= "crayon-v" >l

CentOS Version query:

<textarea class="crayon-plain print-no" style="-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; z-index: 0; opacity: 0; overflow: hidden;" readonly="" data-settings="dblclick"># Cat/etc/*-releasecentos Release 6.4 (final) CentOS release 6.4 (final) CentOS release 6.4 (final)</textarea>
1234 #  cat/etc/*-release centos release< Span class= "crayon-h" > 6.4 (final) centos release 6.4< Span class= "crayon-h" > (final) centos release< Span class= "crayon-h" > 6.4 (final)

Redhat version query:

<textarea class="crayon-plain print-no" style="-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; z-index: 0; opacity: 0; overflow: hidden;" readonly="" data-settings="dblclick"># cat/etc/redhat-releasered Hat Enterprise Linux Server Release 6.0 (Santiago)</textarea>
12 # cat/etc/redhat-release Red Hat Enterprise Linux Server release 6.0 (Santiago)

Fedora Version query:

<textarea class= "Crayon-plain print-no" style= "-moz-tab-size:4"; Font-size:12px! Important line-height:15px! Important z-index:0; opacity:0; Overflow:hidden; "ReadOnly data-settings=" DblClick ">$ Cat/etc/fedora-releasefedora release (Laughlin) </textarea>
12 $ cat /etc/Fedora-release Fedora release (Laughlin)

openSUSE Version query:

<textarea class="crayon-plain print-no" style="-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; z-index: 0; opacity: 0; overflow: hidden;" readonly="" data-settings="dblclick">$ cat/etc/suse-releaseopensuse 12.1 (x86_64) VERSION = 12.1CODENAME = Asparagus</textarea>
1234 $ cat /etc/SuSE-release OpenSUSE 12.1 (x86_64) VERSION = 12.1codename = asparagus

2. Querying the kernel version

<textarea class="crayon-plain print-no" style="-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; z-index: 0; opacity: 0; overflow: hidden;" readonly="" data-settings="dblclick"># uname-r2.6.32-358.14.1.el6.x86_64# Cat/proc/version Linux version 2.6.32-358.14.1.el6.x86_64 ( mockbuild@c6b10.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (gcc)) #1 SMP Tue Jul 23:51:20 UTC </textarea>-
12345 # uname-r2.6.32-358.14.1.el6.x86_64 # cat/proc/versionLinux version 2.6.32-358.14.1.el6.x86_64 (mockbuild@c6b10. Bsys. Dev. CentOS. org) (gcc version 4.4.7

A summary of querying the Linux release number method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.