How To Install dmidecode on Fedora 36
Introduction
In this tutorial we learn how to install dmidecode on Fedora 36.
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 36. In this tutorial we discuss both methods but you only need to choose one of method to install dmidecode.
Install dmidecode on Fedora 36 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install dmidecode using dnf by running the following command:
sudo dnf -y install dmidecode
Install dmidecode on Fedora 36 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
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 36
To uninstall only the dmidecode package we can use the following command:
sudo dnf remove dmidecode
dmidecode Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/f3dde787c5a3a9f7ae6e70c3afffa9ba3184c5
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/20c5478e68a79c66589f731dd51c28715bf82e
/usr/lib/.build-id/93
/usr/lib/.build-id/93/5f138f8608558710d3d9ac94732185707af740
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/f4bab6712c4d6cb38a2ec26a840f1cc126c8aa
/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 36 using yum and [dnf]((/fedora/36/dnf/).