How To Install f3 on CentOS 7

In this tutorial we learn how to install f3 on CentOS 7. f3 is Utility to test for fake flash drives and cards

Introduction

In this tutorial we learn how to install f3 on CentOS 7.

What is f3

F3 is a utility to test for fake flash drives and cards. It is a Free Software alternative to h2testw. f3write will fill the unused part of a filesystem with files NNNN.fff with known content, and f3read will analyze the files to determine whether the contents are corrupted, as happens with fake flash.

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

Install f3 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install f3

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

sudo dnf -y install f3

How To Uninstall f3 on CentOS 7

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

sudo dnf remove f3

References

Summary

In this tutorial we learn how to install f3 on CentOS 7 using yum and dnf.