How To Install libdwarf on Fedora 34
Introduction
In this tutorial we learn how to install libdwarf
on Fedora 34.
What is libdwarf
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 libdwarf 20210305 1.fc34 x86_64 237 k libdwarf-20210305-1.fc34.src.rpm fedora Library to access the DWARF Debugging file format https LGPLv2 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
We can use yum
or dnf
to install libdwarf
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libdwarf.
Install libdwarf 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 libdwarf
using dnf
by running the following command:
sudo dnf -y install libdwarf
Install libdwarf 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 libdwarf
using yum
by running the following command:
sudo yum -y install libdwarf
How To Uninstall libdwarf on Fedora 34
To uninstall only the libdwarf
package we can use the following command:
sudo dnf remove libdwarf
libdwarf Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/2d13449c7f28d55843efae912085a7142aaffb
/usr/lib/libdwarf.so.1
/usr/lib/libdwarf.so.1.0.0
/usr/share/doc/libdwarf
/usr/share/doc/libdwarf/ChangeLog
/usr/share/doc/libdwarf/README
/usr/share/licenses/libdwarf
/usr/share/licenses/libdwarf/COPYING
/usr/share/licenses/libdwarf/LGPL.txt
/usr/share/licenses/libdwarf/LIBDWARFCOPYRIGHT
/usr/lib/.build-id
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/7eae93f3fc7afdc9f102530d1de8be00a754fd
/usr/lib64/libdwarf.so.1
/usr/lib64/libdwarf.so.1.0.0
/usr/share/doc/libdwarf
/usr/share/doc/libdwarf/ChangeLog
/usr/share/doc/libdwarf/README
/usr/share/licenses/libdwarf
/usr/share/licenses/libdwarf/COPYING
/usr/share/licenses/libdwarf/LGPL.txt
/usr/share/licenses/libdwarf/LIBDWARFCOPYRIGHT
References
- [libdwarf website](https://www.prevanders.net/dwarf.html https://www.prevanders.net/dwarf.html)
Summary
In this tutorial we learn how to install libdwarf
on Fedora 34 using yum and dnf.