How To Install libfdt on Fedora 36

In this tutorial we learn how to install libfdt in Fedora 36. libfdt is Device tree library

Introduction

In this tutorial we learn how to install libfdt on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libfdt.

Install libfdt on Fedora 36 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 Fedora 36 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 Fedora 36

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

sudo dnf remove libfdt

libfdt Package Contents on Fedora 36

---
title: "How To Install libfdt on Fedora 36"
linkTitle: "libfdt"
type: "docs"
description: "In this tutorial we learn how to install libfdt in Fedora 36. libfdt is Device tree library"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libfdt-featured.png
---

## Introduction

In this tutorial we learn how to install `libfdt` on Fedora 36.

### 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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libfdt.

## Install libfdt on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
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 Fedora 36 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 Fedora 36

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

sudo dnf remove libfdt

libfdt Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/c7ae6915bcdb4db1c3606195faa9fd052cd64f
/usr/lib/libfdt-1.6.1.so
/usr/lib/libfdt.so.1
/usr/share/licenses/libfdt
/usr/share/licenses/libfdt/GPL

References

Summary

In this tutorial we learn how to install libfdt on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id /usr/lib/.build-id/56 /usr/lib/.build-id/56/14269f036f2af6da58b781b3cecdc6edb64960 /usr/lib64/libfdt-1.6.1.so /usr/lib64/libfdt.so.1 /usr/share/licenses/libfdt /usr/share/licenses/libfdt/GPL


## References

* [libfdt website](https://devicetree.org/)

## Summary

In this tutorial we learn how to install `libfdt` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).