# lsb_release - pydoc - phpman

> **TLDR:** Get LSB (Linux Standard Base) and distribution-specific information.
>
- Print all available information:
  `lsb_release {{-a|--all}}`
- Print a description (usually the full name) of the operating system:
  `lsb_release {{-d|--description}}`
- Print only the operating system name (ID), in short format (omitting the field name):
  `lsb_release {{-is|--id --short}}`
- Print the release number and codename of the distribution, in short format:
  `lsb_release {{-rcs|--release --codename --short}}`

*Source: tldr-pages*

---

Help on module lsb_release:

## NAME
    lsb_release

## DESCRIPTION
    # LSB release detection module for Debian
    # (C) 2005-10 Chris Lawrence <<lawrencc@debian.org>>
    # (C) 2018 Didier Raboud <<odyx@debian.org>>

## FUNCTIONS
### check_modules_installed
        # This is Debian-specific at present

### compare_release

### get_distro_info

### get_distro_information

### get_os_release
        # Whatever is guessed above can be overridden in /usr/lib/os-release by derivatives

### guess_debian_release

### guess_release_from_apt

### lookup_codename

### parse_apt_policy

### parse_policy_line

### release_index

### test

### valid_lsb_versions

## DATA
    PACKAGES = 'lsb-core lsb-cxx lsb-graphics lsb-desktop lsb-languages ls...
    RELEASES_ORDER = ['buzz', 'rex', 'bo', 'hamm', 'slink', 'potato', 'woo...
    RELEASE_CODENAME_LOOKUP = {'1.1': 'buzz', '1.2': 'rex', '1.3': 'bo', '...
    TESTING_CODENAME = 'unknown.new.testing'
    longnames = {'a': 'suite', 'c': 'component', 'l': 'label', 'o': 'origi...
    modnamere = re.compile('lsb-(?P<module>[a-z0-9]+)-(?P<arch>[^ ]+)(?: \...
    print_function = _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0)...

## FILE
    /usr/lib/python3/dist-packages/lsb_release.py


