lsb_release

Name

lsb_release -- print distribution specific information

Synopsis

lsb_release [option...]

Description

The lsb_release command prints certain LSB (Linux Standard Base) and Distribution information.

If no options are given, the -v option is the default.

Options

-v, --version 

displays the LSB version the distribution is compliant with. The version is expressed as a colon separated list of versioned LSB module identifiers. An LSB module identifier is a dash-separated tuple consisting of module name and version or module name, version and architecture name, in that order. The version output is presented as a single line of text beginning with LSB Version: followed by a tab character, then the list of LSB module identifiers. This format is intended to be easily parsable by programs which need to consume the data. Excepting core, which must always be present, the list of module identifiers may change over time depending on installations and removals of system software.

Example: LSB Version: core-5.0-amd64:core-5.0-noarch:desktop-5.0-amd64:desktop-5.0-noarch:languages-5.0:imaging-5.0

Note: An implementation may support multiple releases of the same module. To claim compliance, the implementation shall list all relevant module identifiers. Version specific library interfaces, if any, will be selected by the program interpreter, which may change from release to release. Version specific commands and utilities, if any, will be described in the relevant specification.

For reporting or querying compliance with this release of the specification, use the module names found in the Package Dependencies section of the Package Format and Installation chapter for that module specification.

-i, --id 

displays a string identifying the distribution provider. The id output is a single line of text beginning with Distributor ID: followed by a tab character, then the id string. This specification assigns no meaning to the value of the string, the contents are at the discretion of the distribution provider.

Example: Distributor ID: Frobnozz

-d, --description 

displays text describing the distribution. The description output is a single line of text beginning with Description: followed by a tab character, then the description string. This specification assigns no meaning to the value of the string, the contents are at the discretion of the distribution provider.

Example: Description: Frobnozz release 9 (Gilpher)

-r, --release 

displays the release number of distribution. The release output is a single line of text beginning with Release: followed by a tab character, then the release string. This specification assigns no meaning to the value of the string, the contents are at the discretion of the distribution provider.

Example: Release: 9

-c, --codename 

displays a codename which corresponds to the distribution release. The codename output is a single line of text beginning with Codename: followed by a tab character, then the codename string. This specification assigns no meaning to the value of the string, the contents are at the discretion of the distribution provider.

Example: Codename: Gilpher

-a, --all 

displays all of the above information.

-s, --short 

displays all of the above information in a short output format.

-h, --help 

displays a human-readable help message.