How To Install libunwind.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libunwind.x86_64 in Amazon Linux 2. libunwind.x86_64 is An unwinding library

Introduction

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

What is libunwind.x86_64

Libunwind provides a C ABI to determine the call-chain of a program.

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

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

sudo yum -y install libunwind.x86_64

How To Uninstall libunwind.x86_64 on Amazon Linux 2

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

sudo yum remove libunwind.x86_64

libunwind.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libunwind-coredump.so.0
/usr/lib64/libunwind-coredump.so.0.0.0
/usr/lib64/libunwind-x86_64.so.8
/usr/lib64/libunwind-x86_64.so.8.0.1
/usr/lib64/libunwind.so.8
/usr/lib64/libunwind.so.8.0.1
/usr/share/doc/libunwind-1.2
/usr/share/doc/libunwind-1.2/COPYING
/usr/share/doc/libunwind-1.2/NEWS
/usr/share/doc/libunwind-1.2/README

References

Summary

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