Lsb release: Difference between revisions
From ICO wiki
Jump to navigationJump to search
Line 58: | Line 58: | ||
'''lsb_release''' is part of a software package called the LSB core, which is not necessarily installed on your system by default. | '''lsb_release''' is part of a software package called the LSB core, which is not necessarily installed on your system by default. | ||
To install it, run the command below that corresponds to your specific system: | To install it, run the command below that corresponds to your specific system: | ||
==Ubuntu, Debian== | |||
<font size="3>sudo apt-get update && sudo apt-get install lsb-core</font> | |||
===CentOS=== | ===CentOS=== | ||
===Fedora=== | ===Fedora=== |
Revision as of 21:38, 18 September 2017
Author
Elizaveta Romanova, A21
.09.2017
About command
The lsb_release command displays LSB (Linux Standard Base) information about your specific Linux distribution. It's a reliable way to get version information about the Linux system you're using.
Syntax
lsb_release [OPTIONS]
Options
-v | --version | show LSB modules this system supports |
-i | --id | show distributor ID |
-d | --description | show description of this distribution |
-r | --release | show release number of this distibution |
-c | --codename | show code name of this distribution |
-a | --all | show all of the above information |
-s | --short | show requested information in short format |
-h | --help | show this help message and exit |
Installing LSB Core
lsb_release is part of a software package called the LSB core, which is not necessarily installed on your system by default. To install it, run the command below that corresponds to your specific system:
Ubuntu, Debian
sudo apt-get update && sudo apt-get install lsb-core