How To Install smbios-utils-bin on CentOS 7

In this tutorial we learn how to install smbios-utils-bin on CentOS 7. smbios-utils-bin is Binary utilities that use libsmbios

Introduction

In this tutorial we learn how to install smbios-utils-bin on CentOS 7.

What is smbios-utils-bin

Get BIOS information, such as System product name, product id, service tag and asset tag.

We can use yum or dnf to install smbios-utils-bin on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install smbios-utils-bin.

Install smbios-utils-bin on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install smbios-utils-bin using yum by running the following command:

sudo yum -y install smbios-utils-bin

Install smbios-utils-bin on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install smbios-utils-bin using dnf by running the following command:

sudo dnf -y install smbios-utils-bin

How To Uninstall smbios-utils-bin on CentOS 7

To uninstall only the smbios-utils-bin package we can use the following command:

sudo dnf remove smbios-utils-bin

References

Summary

In this tutorial we learn how to install smbios-utils-bin on CentOS 7 using yum and dnf.