How To Install libfdt on Rocky Linux 8
Introduction
In this tutorial we learn how to install libfdt
on Rocky Linux 8.
What is libfdt
libfdt is a library to process Open Firmware style device trees on various architectures.
We can use yum
or dnf
to install libfdt
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libfdt.
Install libfdt 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 libfdt
using dnf
by running the following command:
sudo dnf -y install libfdt
Install libfdt 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 libfdt
using yum
by running the following command:
sudo yum -y install libfdt
How To Uninstall libfdt on Rocky Linux 8
To uninstall only the libfdt
package we can use the following command:
sudo dnf remove libfdt
libfdt Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/2808239ad1b7c4564b0a4ca57719a288f9d4ca
/usr/lib/libfdt-1.6.0.so
/usr/lib/libfdt.so.1
/usr/share/licenses/libfdt
/usr/share/licenses/libfdt/GPL
/usr/lib/.build-id
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/7fae8e6e64a147e107b94ebae6c382fe54258a
/usr/lib64/libfdt-1.6.0.so
/usr/lib64/libfdt.so.1
/usr/share/licenses/libfdt
/usr/share/licenses/libfdt/GPL
References
Summary
In this tutorial we learn how to install libfdt
on Rocky Linux 8 using yum and dnf.