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

In this tutorial we learn how to install libunwind-devel.x86_64 in Amazon Linux 2. libunwind-devel.x86_64 is Development package for libunwind

Introduction

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

What is libunwind-devel.x86_64

The libunwind-devel package includes the libraries and header files for libunwind.

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

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

sudo yum -y install libunwind-devel.x86_64

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

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

sudo yum remove libunwind-devel.x86_64

libunwind-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/libunwind-common.h
/usr/include/libunwind-coredump.h
/usr/include/libunwind-dynamic.h
/usr/include/libunwind-ptrace.h
/usr/include/libunwind-x86_64.h
/usr/include/libunwind.h
/usr/include/unwind.h
/usr/lib64/libunwind-coredump.so
/usr/lib64/libunwind-generic.so
/usr/lib64/libunwind-ptrace.a
/usr/lib64/libunwind-x86_64.so
/usr/lib64/libunwind.so
/usr/lib64/pkgconfig/libunwind-coredump.pc
/usr/lib64/pkgconfig/libunwind-generic.pc
/usr/lib64/pkgconfig/libunwind-ptrace.pc
/usr/lib64/pkgconfig/libunwind.pc
/usr/share/man/man3/_U_dyn_cancel.3.gz
/usr/share/man/man3/_U_dyn_register.3.gz
/usr/share/man/man3/libunwind-dynamic.3.gz
/usr/share/man/man3/libunwind-ia64.3.gz
/usr/share/man/man3/libunwind-ptrace.3.gz
/usr/share/man/man3/libunwind-setjmp.3.gz
/usr/share/man/man3/libunwind.3.gz
/usr/share/man/man3/unw_backtrace.3.gz
/usr/share/man/man3/unw_create_addr_space.3.gz
/usr/share/man/man3/unw_destroy_addr_space.3.gz
/usr/share/man/man3/unw_flush_cache.3.gz
/usr/share/man/man3/unw_get_accessors.3.gz
/usr/share/man/man3/unw_get_fpreg.3.gz
/usr/share/man/man3/unw_get_proc_info.3.gz
/usr/share/man/man3/unw_get_proc_info_by_ip.3.gz
/usr/share/man/man3/unw_get_proc_name.3.gz
/usr/share/man/man3/unw_get_reg.3.gz
/usr/share/man/man3/unw_getcontext.3.gz
/usr/share/man/man3/unw_init_local.3.gz
/usr/share/man/man3/unw_init_remote.3.gz
/usr/share/man/man3/unw_is_fpreg.3.gz
/usr/share/man/man3/unw_is_signal_frame.3.gz
/usr/share/man/man3/unw_regname.3.gz
/usr/share/man/man3/unw_resume.3.gz
/usr/share/man/man3/unw_set_caching_policy.3.gz
/usr/share/man/man3/unw_set_fpreg.3.gz
/usr/share/man/man3/unw_set_reg.3.gz
/usr/share/man/man3/unw_step.3.gz
/usr/share/man/man3/unw_strerror.3.gz

References

Summary

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