How To Install libdwarf-tools.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libdwarf-tools.x86_64 in Amazon Linux 2. libdwarf-tools.x86_64 is Tools for accessing DWARF debugging information

Introduction

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

What is libdwarf-tools.x86_64

C++ version of dwarfdump (dwarfdump2) command-line utilities to access DWARF debug information.

We can use yum to install libdwarf-tools.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-tools.x86_64.

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

sudo yum -y install libdwarf-tools.x86_64

How To Uninstall libdwarf-tools.x86_64 on Amazon Linux 2

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

sudo yum remove libdwarf-tools.x86_64

libdwarf-tools.x86_64 Package Contents on Amazon Linux 2

/usr/bin/dwarfdump
/usr/share/doc/libdwarf-tools-20130207
/usr/share/doc/libdwarf-tools-20130207/COPYING
/usr/share/doc/libdwarf-tools-20130207/ChangeLog
/usr/share/doc/libdwarf-tools-20130207/DWARFDUMPCOPYRIGHT
/usr/share/doc/libdwarf-tools-20130207/GPL.txt
/usr/share/doc/libdwarf-tools-20130207/README

References

Summary

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