How To Install libdwarf.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libdwarf.x86_64 in Amazon Linux 2. libdwarf.x86_64 is Library to access the DWARF Debugging file format

Introduction

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

What is libdwarf.x86_64

Library to access the DWARF debugging file format which supports source level debugging of a number of procedural languages, such as C, C++, and Fortran. Please see http DWARF specification.

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

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

sudo yum -y install libdwarf.x86_64

How To Uninstall libdwarf.x86_64 on Amazon Linux 2

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

sudo yum remove libdwarf.x86_64

libdwarf.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libdwarf.so.0
/usr/lib64/libdwarf.so.0.20130207.0
/usr/share/doc/libdwarf-20130207
/usr/share/doc/libdwarf-20130207/COPYING
/usr/share/doc/libdwarf-20130207/ChangeLog
/usr/share/doc/libdwarf-20130207/LGPL.txt
/usr/share/doc/libdwarf-20130207/LIBDWARFCOPYRIGHT
/usr/share/doc/libdwarf-20130207/README

References

Summary

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