How To Install dtc on Rocky Linux 8
Introduction
In this tutorial we learn how to install dtc
on Rocky Linux 8.
What is dtc
Devicetree is a data structure for describing hardware. Rather than hard coding every detail of a device into an operating system, many aspects of the hardware can be described in a data structure that is passed to the operating system at boot time. The devicetree is used by OpenFirmware, OpenPOWER Abstraction Layer (OPAL), Power Architecture Platform Requirements (PAPR) and in the standalone Flattened Device Tree (FDT) form.
We can use yum
or dnf
to install dtc
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install dtc.
Install dtc 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 dtc
using dnf
by running the following command:
sudo dnf -y install dtc
Install dtc 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 dtc
using yum
by running the following command:
sudo yum -y install dtc
How To Uninstall dtc on Rocky Linux 8
To uninstall only the dtc
package we can use the following command:
sudo dnf remove dtc
dtc Package Contents on Rocky Linux 8
/usr/bin/convert-dtsv0
/usr/bin/dtc
/usr/bin/dtdiff
/usr/bin/fdtdump
/usr/bin/fdtget
/usr/bin/fdtoverlay
/usr/bin/fdtput
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/a4eaea2b0a4402e8ea0e3efb89703f9a01566d
/usr/lib/.build-id/16
/usr/lib/.build-id/16/7db3ba81d07592ff19793b2432f42ebf59d7fe
/usr/lib/.build-id/69
/usr/lib/.build-id/69/c0d74e5b871001d91410a90d322b7cb1c801fc
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/ca15242661642ddac51067f3c3110e3e7ba57c
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/449cf2ff1b22fb9ede8b7bd9f77ad26fc115e0
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/fbf0db0019a1c729c0425ff9809730ed03fc70
/usr/share/doc/dtc
/usr/share/doc/dtc/manual.txt
/usr/share/licenses/dtc
/usr/share/licenses/dtc/GPL
References
Summary
In this tutorial we learn how to install dtc
on Rocky Linux 8 using yum and dnf.