How To Install hypervkvpd.x86_64 on Amazon Linux 2

In this tutorial we learn how to install hypervkvpd.x86_64 in Amazon Linux 2. hypervkvpd.x86_64 is HyperV key value pair (KVP) daemon

Introduction

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

What is hypervkvpd.x86_64

Hypervkvpd is an implementation of HyperV key value pair (KVP) functionality for Linux. The daemon first registers with the kernel driver. After this is done it collects information requested by Windows Host about the Linux Guest. It also supports IP injection functionality on the Guest.

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

Install hypervkvpd.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 hypervkvpd.x86_64 using yum by running the following command:

sudo yum -y install hypervkvpd.x86_64

How To Uninstall hypervkvpd.x86_64 on Amazon Linux 2

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

sudo yum remove hypervkvpd.x86_64

hypervkvpd.x86_64 Package Contents on Amazon Linux 2

/usr/lib/systemd/system/hypervkvpd.service
/usr/lib/udev/rules.d/70-hypervkvp.rules
/usr/libexec/hypervkvpd
/usr/libexec/hypervkvpd/hv_get_dhcp_info
/usr/libexec/hypervkvpd/hv_get_dns_info
/usr/libexec/hypervkvpd/hv_set_ifconfig
/usr/sbin/hypervkvpd
/var/lib/hyperv

References

Summary

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