How To Install libportal on Fedora 36

In this tutorial we learn how to install libportal in Fedora 36. libportal is Flatpak portal library

Introduction

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

What is libportal

libportal provides GIO-style asynchronous APIs for most Flatpak portals.

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

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

sudo dnf -y install libportal

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

sudo yum -y install libportal

How To Uninstall libportal on Fedora 36

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

sudo dnf remove libportal

libportal Package Contents on Fedora 36

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

## Introduction

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

### What is `libportal`

> libportal provides GIO-style asynchronous APIs for most Flatpak portals.  

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

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

sudo dnf -y install libportal

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

sudo yum -y install libportal

How To Uninstall libportal on Fedora 36

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

sudo dnf remove libportal

libportal Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/1c0538507177f7d2de1d274fe042a3e3c33382
/usr/lib/girepository-1.0/Xdp-1.0.typelib
/usr/lib/libportal.so.1
/usr/lib/libportal.so.1.0.0
/usr/share/doc/libportal
/usr/share/doc/libportal/NEWS
/usr/share/doc/libportal/README.md
/usr/share/licenses/libportal
/usr/share/licenses/libportal/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/667fedc6b43c4e77da87ee3d9d0181267aeacc
/usr/lib64/girepository-1.0/Xdp-1.0.typelib
/usr/lib64/libportal.so.1
/usr/lib64/libportal.so.1.0.0
/usr/share/doc/libportal
/usr/share/doc/libportal/NEWS
/usr/share/doc/libportal/README.md
/usr/share/licenses/libportal
/usr/share/licenses/libportal/COPYING


## References
## References


* [libportal website](https://github.com/flatpak/libportal)
* [libportal website](https://github.com/flatpak/libportal)


## Summary
## Summary


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