How To Install libunwind on Fedora 34

libunwind is An unwinding library An unwinding library

Introduction

In this tutorial we learn how to install libunwind on Fedora 34.

What is libunwind

Libunwind provides a C ABI to determine the call-chain of a program. libunwind 1.4.0 5.fc34 x86_64 65 k libunwind-1.4.0-5.fc34.src.rpm fedora An unwinding library http BSD Libunwind provides a C ABI to determine the call-chain of a program.

We can use yum or dnf to install libunwind on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libunwind.

Install libunwind on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libunwind using dnf by running the following command:

sudo dnf -y install libunwind

Install libunwind on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libunwind using yum by running the following command:

sudo yum -y install libunwind

How To Uninstall libunwind on Fedora 34

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

sudo dnf remove libunwind

libunwind Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/448c43bf045b3d3edfe9ddbfc3aafafc6fd282
/usr/lib/.build-id/90
/usr/lib/.build-id/90/d2bb1edb07a378a9f39b25e43a0cfc10b0faca
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/94762e6428ab7b9cc4427423317ad8089c2fa9
/usr/lib/libunwind-coredump.so.0
/usr/lib/libunwind-coredump.so.0.0.0
/usr/lib/libunwind-x86.so.8
/usr/lib/libunwind-x86.so.8.0.1
/usr/lib/libunwind.so.8
/usr/lib/libunwind.so.8.0.1
/usr/share/doc/libunwind
/usr/share/doc/libunwind/NEWS
/usr/share/doc/libunwind/README
/usr/share/licenses/libunwind
/usr/share/licenses/libunwind/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/c0a067e314ff1bc5cb3adb70c2da235c2986b2
/usr/lib/.build-id/47
/usr/lib/.build-id/47/5b933206ccc4a7fd8b99844723a8e6f9f5883c
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/39215e9819f2ddb6ca120ab7f35bfbb9847e08
/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
/usr/share/doc/libunwind/NEWS
/usr/share/doc/libunwind/README
/usr/share/licenses/libunwind
/usr/share/licenses/libunwind/COPYING

References

Summary

In this tutorial we learn how to install libunwind on Fedora 34 using yum and dnf.