How To Install cloud-utils-growpart.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install cloud-utils-growpart.noarch
on Amazon Linux 2.
What is cloud-utils-growpart.noarch
This package provides the growpart script for growing a partition. It is primarily used in cloud images in conjunction with the dracut-modules-growroot package to grow the root partition on first boot.
We can use yum
to install cloud-utils-growpart.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install cloud-utils-growpart.noarch.
Install cloud-utils-growpart.noarch 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 cloud-utils-growpart.noarch
using yum
by running the following command:
sudo yum -y install cloud-utils-growpart.noarch
How To Uninstall cloud-utils-growpart.noarch on Amazon Linux 2
To uninstall only the cloud-utils-growpart.noarch
package we can use the following command:
sudo yum remove cloud-utils-growpart.noarch
cloud-utils-growpart.noarch Package Contents on Amazon Linux 2
/usr/bin/growpart
/usr/share/doc/cloud-utils-growpart-0.31
/usr/share/doc/cloud-utils-growpart-0.31/ChangeLog
/usr/share/doc/cloud-utils-growpart-0.31/LICENSE
/usr/share/man/man1/growpart.1.gz
References
Summary
In this tutorial we learn how to install cloud-utils-growpart.noarch
on Amazon Linux 2 using yum.