How To Install daxio on CentOS 7

In this tutorial we learn how to install daxio on CentOS 7. daxio is Perform I/O on Device DAX devices or zero a Device DAX device

Introduction

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

What is daxio

The daxio utility performs I/O on Device DAX devices or zero a Device DAX device. Since the standard I/O APIs (read/write) cannot be used with Device DAX, data transfer is performed on a memory-mapped device. The daxio may be used to dump Device DAX data to a file, restore data from a backup copy, move/copy data to another device or to erase data from a device.

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

Install daxio on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install daxio

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

sudo dnf -y install daxio

How To Uninstall daxio on CentOS 7

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

sudo dnf remove daxio

References

Summary

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