How To Install grubby.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install grubby.x86_64
on Amazon Linux 2.
What is grubby.x86_64
grubby is a command line tool for updating and displaying information about the configuration files for the grub, lilo, elilo (ia64), yaboot (powerpc) and zipl (s390) boot loaders. It is primarily designed to be used from scripts which install new kernels and need to find information about the current boot environment.
We can use yum
to install grubby.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install grubby.x86_64.
Install grubby.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 grubby.x86_64
using yum
by running the following command:
sudo yum -y install grubby.x86_64
How To Uninstall grubby.x86_64 on Amazon Linux 2
To uninstall only the grubby.x86_64
package we can use the following command:
sudo yum remove grubby.x86_64
grubby.x86_64 Package Contents on Amazon Linux 2
/etc/sysconfig/kernel
/usr/libexec/grubby/prune_debug
/usr/sbin/grubby
/usr/sbin/installkernel
/usr/sbin/new-kernel-pkg
/usr/share/doc/grubby-8.28
/usr/share/doc/grubby-8.28/COPYING
/usr/share/man/man8/grubby.8.gz
/usr/share/man/man8/installkernel.8.gz
/usr/share/man/man8/new-kernel-pkg.8.gz
References
Summary
In this tutorial we learn how to install grubby.x86_64
on Amazon Linux 2 using yum.