How To Install device-mapper-multipath-sysvinit.x86_64 on Amazon Linux 2

In this tutorial we learn how to install device-mapper-multipath-sysvinit.x86_64 in Amazon Linux 2. device-mapper-multipath-sysvinit.x86_64 is SysV init script for device-mapper-multipath

Introduction

In this tutorial we learn how to install device-mapper-multipath-sysvinit.x86_64 on Amazon Linux 2.

What is device-mapper-multipath-sysvinit.x86_64

SysV style init script for device-mapper-multipth. It needs to be installed only if systemd is not used as the system init process.

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

Install device-mapper-multipath-sysvinit.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 device-mapper-multipath-sysvinit.x86_64 using yum by running the following command:

sudo yum -y install device-mapper-multipath-sysvinit.x86_64

How To Uninstall device-mapper-multipath-sysvinit.x86_64 on Amazon Linux 2

To uninstall only the device-mapper-multipath-sysvinit.x86_64 package we can use the following command:

sudo yum remove device-mapper-multipath-sysvinit.x86_64

device-mapper-multipath-sysvinit.x86_64 Package Contents on Amazon Linux 2

/etc/rc.d/init.d/multipathd

References

Summary

In this tutorial we learn how to install device-mapper-multipath-sysvinit.x86_64 on Amazon Linux 2 using yum.