How To Install daxio on CentOS 8

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 8.

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 8. In this tutorial we discuss both methods but you only need to choose one of method to install daxio.

Install daxio on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install daxio

Install daxio on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install daxio

How To Uninstall daxio on CentOS 8

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

sudo dnf remove daxio

daxio Package Contents on CentOS 8

/usr/bin/daxio
/usr/lib/.build-id
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/7d5eb7f40492594fa4e966b2c31ba7b6590fa9
/usr/share/doc/daxio
/usr/share/doc/daxio/CONTRIBUTING.md
/usr/share/doc/daxio/ChangeLog
/usr/share/doc/daxio/README.md
/usr/share/licenses/daxio
/usr/share/licenses/daxio/LICENSE
/usr/share/man/man1/daxio.1.gz

References

Summary

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