How to Install and Uninstall mdadm.x86_64 Package on Amazon Linux 2

Last updated: July 03,2024

1. Install "mdadm.x86_64" package

This tutorial shows how to install mdadm.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install mdadm.x86_64

2. Uninstall "mdadm.x86_64" package

Please follow the guidance below to uninstall mdadm.x86_64 on Amazon Linux 2:

$ sudo yum remove mdadm.x86_64 $ sudo yum autoremove

3. Information about the mdadm.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : mdadm
Arch : x86_64
Version : 4.0
Release : 5.amzn2.0.2
Size : 431 k
Repo : amzn2-core/2/x86_64
Summary : The mdadm program controls Linux md devices (software RAID arrays)
URL : http://www.kernel.org/pub/linux/utils/raid/mdadm/
License : GPLv2+
Description : The mdadm program is used to create, manage, and monitor Linux MD
: (software RAID) devices. As such, it provides similar
: functionality to the raidtools package. However, mdadm is a
: single program, and it can perform almost all functions without a
: configuration file, though a configuration file can be used to
: help with some common tasks.