How To Install libportal-gtk4-devel on Fedora 36

In this tutorial we learn how to install libportal-gtk4-devel in Fedora 36. libportal-gtk4-devel is GTK 4 development files and libraries for libportal

Introduction

In this tutorial we learn how to install libportal-gtk4-devel on Fedora 36.

What is libportal-gtk4-devel

libportal provides GIO-style asynchronous APIs for most Flatpak portals. This package provides files for development with GTK 4 and libportal.

We can use yum or dnf to install libportal-gtk4-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libportal-gtk4-devel.

Install libportal-gtk4-devel 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 libportal-gtk4-devel using dnf by running the following command:

sudo dnf -y install libportal-gtk4-devel

Install libportal-gtk4-devel 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 libportal-gtk4-devel using yum by running the following command:

sudo yum -y install libportal-gtk4-devel

How To Uninstall libportal-gtk4-devel on Fedora 36

To uninstall only the libportal-gtk4-devel package we can use the following command:

sudo dnf remove libportal-gtk4-devel

libportal-gtk4-devel Package Contents on Fedora 36

/usr/include/libportal-gtk4
/usr/include/libportal-gtk4/portal-gtk4.h
/usr/lib/libportal-gtk4.so
/usr/lib/pkgconfig/libportal-gtk4.pc
/usr/share/gir-1.0/XdpGtk4-1.0.gir
/usr/share/vala/vapi/libportal-gtk4.deps
/usr/share/vala/vapi/libportal-gtk4.vapi

References

Summary

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


title: “How To Install libportal-gtk4-devel on Fedora 36” linkTitle: “libportal-gtk4-devel” type: “docs” description: “In this tutorial we learn how to install libportal-gtk4-devel in Fedora 36. libportal-gtk4-devel is GTK 4 development files and libraries for libportal” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libportal-gtk4-devel-featured.png

Introduction

In this tutorial we learn how to install libportal-gtk4-devel on Fedora 36.

What is libportal-gtk4-devel

libportal provides GIO-style asynchronous APIs for most Flatpak portals. This package provides files for development with GTK 4 and libportal.

We can use yum or dnf to install libportal-gtk4-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libportal-gtk4-devel.

Install libportal-gtk4-devel 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 libportal-gtk4-devel using dnf by running the following command:

sudo dnf -y install libportal-gtk4-devel

Install libportal-gtk4-devel 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 libportal-gtk4-devel using yum by running the following command:

sudo yum -y install libportal-gtk4-devel

How To Uninstall libportal-gtk4-devel on Fedora 36

To uninstall only the libportal-gtk4-devel package we can use the following command:

sudo dnf remove libportal-gtk4-devel

libportal-gtk4-devel Package Contents on Fedora 36

/usr/include/libportal-gtk4
/usr/include/libportal-gtk4/portal-gtk4.h
/usr/lib64/libportal-gtk4.so
/usr/lib64/pkgconfig/libportal-gtk4.pc
/usr/share/gir-1.0/XdpGtk4-1.0.gir
/usr/share/vala/vapi/libportal-gtk4.deps
/usr/share/vala/vapi/libportal-gtk4.vapi

References

Summary

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