CentOS: lsb_release: command not found

First let me declare that I’m new to CentOS. The folowing is a note to self which demonstrates how we search for a package that provides some commands and intall it using yum on CentOS. When I ran ‘lsb_release -a’, the following message is returned: To fix it, we need to install the package which provides lsb_release command. So, let’s install redhat-lsb package: Wow, it needs to download 86M just to install that package?...

October 21, 2012 · 1 min · 82 words · kenno

How to tell which Linux distro you’re running

Update: Thanks to Jayen, there is a better way: $ lsb_release -a<br /> No LSB modules are available.<br /> Distributor ID: Ubuntu<br /> Description: Ubuntu 9.10<br /> Release: 9.10<br /> Codename: karmic<br /> — $ cat /etc/issue<br /> Debian GNU/Linux squeeze/sid n l<br /> Or <br /> $ cat /proc/version<br /> Linux version 2.6.32-trunk-686 (Debian 2.6.32-5) (ben@decadent.org.uk) (gcc version 4.3.4 (Debian 4.3.4-6) ) #1 SMP Sun Jan 10 06:32:16 UTC 2010<br /> Source: Which Linux Distro are you using?...

February 3, 2010 · 1 min · 79 words · kenno