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? Well, I guess I’ll stick with cat /etc/redhat-release.