How To Install crash.x86_64 on Amazon Linux 2

In this tutorial we learn how to install crash.x86_64 in Amazon Linux 2. crash.x86_64 is Kernel analysis utility for live systems, netdump, diskdump,

Introduction

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

What is crash.x86_64

The core analysis suite is a self-contained tool that can be used to investigate either live systems, kernel core dumps created from the netdump, diskdump and kdump packages from Red Hat Linux, the mcore kernel patch offered by Mission Critical Linux, or the LKCD kernel patch.

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

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

sudo yum -y install crash.x86_64

How To Uninstall crash.x86_64 on Amazon Linux 2

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

sudo yum remove crash.x86_64

crash.x86_64 Package Contents on Amazon Linux 2

/usr/bin/crash
/usr/share/doc/crash-8.0.0
/usr/share/doc/crash-8.0.0/COPYING3
/usr/share/doc/crash-8.0.0/README
/usr/share/man/man8/crash.8.gz

References

Summary

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