How To Install flashrom on Fedora 34

flashrom is Simple program for reading/writing flash chips content Simple program for reading/writing flash chips content

Introduction

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

What is flashrom

flashrom is a utility for identifying, reading, writing, verifying and erasing flash chips. It is designed to flash BIOS/EFI/coreboot/firmware/optionROM images on mainboards, network/graphics/storage controller cards, and various other programmer devices. flashrom 1.2 6.fc34 x86_64 320 k flashrom-1.2-6.fc34.src.rpm fedora Simple program for reading/writing flash chips content https GPLv2 flashrom is a utility for identifying, reading, writing, verifying and erasing flash chips. It is designed to flash BIOS/EFI/coreboot/firmware/optionROM images on mainboards, network/graphics/storage controller cards, and various other programmer devices.

We can use yum or dnf to install flashrom on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install flashrom.

Install flashrom 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 flashrom using dnf by running the following command:

sudo dnf -y install flashrom

Install flashrom 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 flashrom using yum by running the following command:

sudo yum -y install flashrom

How To Uninstall flashrom on Fedora 34

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

sudo dnf remove flashrom

flashrom Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/ba13aa65aa65c7791b41cca7a6db5946fd433a
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/e50ca6f67a5f71331845c6f04816597d791170
/usr/lib/libflashrom.so.1
/usr/lib/libflashrom.so.1.0.0
/usr/lib/udev/rules.d/60_flashrom.rules
/usr/sbin/flashrom
/usr/share/doc/flashrom
/usr/share/doc/flashrom/README
/usr/share/licenses/flashrom
/usr/share/licenses/flashrom/COPYING
/usr/share/man/man8/flashrom.8.gz
/usr/lib/.build-id
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/4c39b63de75d6c3191b80f30d9e501f0c6d7e7
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/777c358b8a842992e1101892e5c34f04a3641a
/usr/lib/udev/rules.d/60_flashrom.rules
/usr/lib64/libflashrom.so.1
/usr/lib64/libflashrom.so.1.0.0
/usr/sbin/flashrom
/usr/share/doc/flashrom
/usr/share/doc/flashrom/README
/usr/share/licenses/flashrom
/usr/share/licenses/flashrom/COPYING
/usr/share/man/man8/flashrom.8.gz

References

Summary

In this tutorial we learn how to install flashrom on Fedora 34 using yum and dnf.