How To Install libdwarf-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install libdwarf-devel
on Rocky Linux 8.
What is libdwarf-devel
Development package containing library and header files of libdwarf.
We can use yum
or dnf
to install libdwarf-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libdwarf-devel.
Install libdwarf-devel on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install libdwarf-devel
using dnf
by running the following command:
sudo dnf -y install libdwarf-devel
Install libdwarf-devel on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libdwarf-devel
using yum
by running the following command:
sudo yum -y install libdwarf-devel
How To Uninstall libdwarf-devel on Rocky Linux 8
To uninstall only the libdwarf-devel
package we can use the following command:
sudo dnf remove libdwarf-devel
libdwarf-devel Package Contents on Rocky Linux 8
/usr/include/libdwarf
/usr/include/libdwarf/dwarf.h
/usr/include/libdwarf/libdwarf.h
/usr/lib/libdwarf.so
/usr/share/doc/libdwarf-devel
/usr/share/doc/libdwarf-devel/libdwarf2.1.pdf
/usr/share/doc/libdwarf-devel/libdwarf2p.1.pdf
/usr/share/doc/libdwarf-devel/mips_extensions.pdf
/usr/include/libdwarf
/usr/include/libdwarf/dwarf.h
/usr/include/libdwarf/libdwarf.h
/usr/lib64/libdwarf.so
/usr/share/doc/libdwarf-devel
/usr/share/doc/libdwarf-devel/libdwarf2.1.pdf
/usr/share/doc/libdwarf-devel/libdwarf2p.1.pdf
/usr/share/doc/libdwarf-devel/mips_extensions.pdf
References
Summary
In this tutorial we learn how to install libdwarf-devel
on Rocky Linux 8 using yum and dnf.