How to fix lsb_release command not found on CentOS 7.3

June 2, 2017 | By | Reply More

In Ubuntu and all derivatives we can use the lsb_release command to display general information about the distro version, code name and other stuffs. But in other distribution such as CentOS, the lsb_command is not available by default. If you run lsb_release command you will get a command not found error message.

In case you need lsb_release to work with CentOS 7, we can have a look at which packages that provide the lsb_relase command.

As you can see from the result above, lsb_release is provided by redhat-lsb-core package. We need to install this package.

Now try to use lsb_release command again

 

Tags: ,

Category: CentOS

Leave a Reply