How To Install dmidecode.x86_64 on Amazon Linux 2

In this tutorial we learn how to install dmidecode.x86_64 in Amazon Linux 2. dmidecode.x86_64 is Tool to analyse BIOS DMI data

Introduction

In this tutorial we learn how to install dmidecode.x86_64 on Amazon Linux 2.

What is dmidecode.x86_64

dmidecode reports information about x86 & ia64 hardware as described in the system BIOS according to the SMBIOS/DMI standard. This information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details of varying level of interest and reliability depending on the manufacturer. This will often include usage status for the CPU sockets, expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of I/O ports (e.g. serial, parallel, USB).

We can use yum to install dmidecode.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install dmidecode.x86_64.

Install dmidecode.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install dmidecode.x86_64 using yum by running the following command:

sudo yum -y install dmidecode.x86_64

How To Uninstall dmidecode.x86_64 on Amazon Linux 2

To uninstall only the dmidecode.x86_64 package we can use the following command:

sudo yum remove dmidecode.x86_64

dmidecode.x86_64 Package Contents on Amazon Linux 2

/usr/sbin/biosdecode
/usr/sbin/dmidecode
/usr/sbin/ownership
/usr/sbin/vpddecode
/usr/share/doc/dmidecode-3.2
/usr/share/doc/dmidecode-3.2/AUTHORS
/usr/share/doc/dmidecode-3.2/NEWS
/usr/share/doc/dmidecode-3.2/README
/usr/share/licenses/dmidecode-3.2
/usr/share/licenses/dmidecode-3.2/LICENSE
/usr/share/man/man8/biosdecode.8.gz
/usr/share/man/man8/dmidecode.8.gz
/usr/share/man/man8/ownership.8.gz
/usr/share/man/man8/vpddecode.8.gz

References

Summary

In this tutorial we learn how to install dmidecode.x86_64 on Amazon Linux 2 using yum.