How To Install devio on CentOS 7

In this tutorial we learn how to install devio on CentOS 7. devio is Read and write utility for block devices

Introduction

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

What is devio

devio is a command line utility intended to read and write on block devices. The primary difference between devio and other command line utilities, such as dd and cat, is that it is not stream based - it writes directly into the object rather than reading and writing a stream of data.

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

Install devio on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install devio

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

sudo dnf -y install devio

How To Uninstall devio on CentOS 7

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

sudo dnf remove devio

References

Summary

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