Timeline for How can I get distribution name and version number in a simple shell script?
Current License: CC BY-SA 2.5
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 28, 2015 at 13:56 | comment | added | jwilleke | lsb_release -a works on Red Hat Enterprise Linux Server release 6.6 (Santiago) | |
| Jun 5, 2014 at 11:32 | comment | added | Peter Mortensen | lsb_release -a returns "-bash: lsb_release: command not found" on Raspberry with Raspbian (Debian 7.1 derived). | |
| Oct 8, 2013 at 15:30 | comment | added | a coder | lsb_release is not part of the CentOS 6 minimal install. | |
| Mar 30, 2011 at 4:37 | history | post merged (destination) | |||
| Mar 29, 2011 at 20:09 | comment | added | Faheem Mitha | This worked on Debian squeeze, Fedora 14, and OpenSUSE 11.3. On Debian and SUSE the package containing lsb_release was lsb-release, on Fedora it was redhat-lsb. It was already installed on Debian and SUSE, but not on Fedora. I think this is the best answer so far. +1. | |
| Mar 29, 2011 at 19:13 | comment | added | Mat | It's not installed by default on Gentoo. It wasn't by default on Fedora either at some point (probably is now though) | |
| Mar 29, 2011 at 17:31 | history | answered | sakisk | CC BY-SA 2.5 |