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

In this tutorial we learn how to install libdwarf-devel.x86_64 in Amazon Linux 2. libdwarf-devel.x86_64 is Library and header files of libdwarf

Introduction

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

What is libdwarf-devel.x86_64

Development package containing library and header files of libdwarf.

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

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

sudo yum -y install libdwarf-devel.x86_64

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

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

sudo yum remove libdwarf-devel.x86_64

libdwarf-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/libdwarf
/usr/include/libdwarf/dwarf.h
/usr/include/libdwarf/libdwarf.h
/usr/lib64/libdwarf.so
/usr/share/doc/libdwarf-devel-20130207
/usr/share/doc/libdwarf-devel-20130207/dwarf.v2.pdf
/usr/share/doc/libdwarf-devel-20130207/index.v2.pdf
/usr/share/doc/libdwarf-devel-20130207/libdwarf2.1.pdf
/usr/share/doc/libdwarf-devel-20130207/libdwarf2p.1.pdf
/usr/share/doc/libdwarf-devel-20130207/mips_extensions.pdf

References

Summary

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