How To Install dmidecode on Fedora 34

dmidecode is Tool to analyse BIOS DMI data

Introduction

In this tutorial we learn how to install dmidecode on Fedora 34.

What is dmidecode

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 or dnf to install dmidecode on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install dmidecode.

Install dmidecode on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install dmidecode

Install dmidecode on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install dmidecode

How To Uninstall dmidecode on Fedora 34

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

sudo dnf remove dmidecode

dmidecode Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/0258cf34a1adc679b9bce5234688a3d2db25f3
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/e838e9da8dccfaadc9a066d431f62c52393380
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/8b43a686f9ac410c42de1dc4ad37572da68232
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/060af4ff9314783706e3d46ff2a8684dae7db2
/usr/sbin/biosdecode
/usr/sbin/dmidecode
/usr/sbin/ownership
/usr/sbin/vpddecode
/usr/share/doc/dmidecode
/usr/share/doc/dmidecode/AUTHORS
/usr/share/doc/dmidecode/NEWS
/usr/share/doc/dmidecode/README
/usr/share/licenses/dmidecode
/usr/share/licenses/dmidecode/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 on Fedora 34 using yum and dnf.