How To Install veritysetup.x86_64 on Amazon Linux 2

In this tutorial we learn how to install veritysetup.x86_64 in Amazon Linux 2. veritysetup.x86_64 is A utility for setting up dm-verity volumes

Introduction

In this tutorial we learn how to install veritysetup.x86_64 on Amazon Linux 2.

What is veritysetup.x86_64

The veritysetup package contains a utility for setting up disk verification using dm-verity kernel module.

We can use yum to install veritysetup.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install veritysetup.x86_64.

Install veritysetup.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install veritysetup.x86_64 using yum by running the following command:

sudo yum -y install veritysetup.x86_64

How To Uninstall veritysetup.x86_64 on Amazon Linux 2

To uninstall only the veritysetup.x86_64 package we can use the following command:

sudo yum remove veritysetup.x86_64

veritysetup.x86_64 Package Contents on Amazon Linux 2

/usr/sbin/veritysetup
/usr/share/licenses/veritysetup-1.7.4
/usr/share/licenses/veritysetup-1.7.4/COPYING
/usr/share/man/man8/veritysetup.8.gz

References

Summary

In this tutorial we learn how to install veritysetup.x86_64 on Amazon Linux 2 using yum.