How To Install gtk-layer-shell on Fedora 36

In this tutorial we learn how to install gtk-layer-shell in Fedora 36. gtk-layer-shell is Library to create components for Wayland using the Layer Shell

Introduction

In this tutorial we learn how to install gtk-layer-shell on Fedora 36.

What is gtk-layer-shell

A library to write GTK applications that use Layer Shell. Layer Shell is a Wayland protocol for desktop shell components, such as panels, notifications and wallpapers. You can use it to anchor your windows to a corner or edge of the output, or stretch them across the entire output. This library only makes sense on Wayland compositors that support Layer Shell, and will not work on X11. It supports all Layer Shell features including popups and popovers (GTK popups Just Work™). Please open issues for any bugs you come across.

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

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

sudo dnf -y install gtk-layer-shell

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

sudo yum -y install gtk-layer-shell

How To Uninstall gtk-layer-shell on Fedora 36

To uninstall only the gtk-layer-shell package we can use the following command:

sudo dnf remove gtk-layer-shell

gtk-layer-shell Package Contents on Fedora 36

---
title: "How To Install gtk-layer-shell on Fedora 36"
linkTitle: "gtk-layer-shell"
type: "docs"
description: "In this tutorial we learn how to install gtk-layer-shell in Fedora 36. gtk-layer-shell is Library to create components for Wayland using the Layer Shell"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/gtk-layer-shell-featured.png
---

## Introduction

In this tutorial we learn how to install `gtk-layer-shell` on Fedora 36.

### What is `gtk-layer-shell`

> A library to write GTK applications that use Layer Shell. Layer Shell is a Wayland protocol for desktop shell components, such as panels, notifications and wallpapers. You can use it to anchor your windows to a corner or edge of the output, or stretch them across the entire output. This library only makes sense on Wayland compositors that support Layer Shell, and will not work on X11. It supports all Layer Shell features including popups and popovers (GTK popups Just Work™). Please open issues for any bugs you come across.  

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

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

sudo dnf -y install gtk-layer-shell

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

sudo yum -y install gtk-layer-shell

How To Uninstall gtk-layer-shell on Fedora 36

To uninstall only the gtk-layer-shell package we can use the following command:

sudo dnf remove gtk-layer-shell

gtk-layer-shell Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/99
/usr/lib/.build-id/99/d47dabf417283c756425c4177a2aeb6c2f26e5
/usr/lib64/girepository-1.0/GtkLayerShell-0.1.typelib
/usr/lib64/libgtk-layer-shell.so.0
/usr/lib64/libgtk-layer-shell.so.0.7.0
/usr/share/doc/gtk-layer-shell
/usr/share/doc/gtk-layer-shell/CHANGELOG.md
/usr/share/doc/gtk-layer-shell/README.md
/usr/share/licenses/gtk-layer-shell
/usr/share/licenses/gtk-layer-shell/LICENSE_LGPL.txt
/usr/share/licenses/gtk-layer-shell/LICENSE_MIT.txt

References

Summary

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

/usr/lib/.build-id /usr/lib/.build-id/38 /usr/lib/.build-id/38/40c11b77f6211d1564c5713297327e880354d3 /usr/lib/girepository-1.0/GtkLayerShell-0.1.typelib /usr/lib/libgtk-layer-shell.so.0 /usr/lib/libgtk-layer-shell.so.0.7.0 /usr/share/doc/gtk-layer-shell /usr/share/doc/gtk-layer-shell/CHANGELOG.md /usr/share/doc/gtk-layer-shell/README.md /usr/share/licenses/gtk-layer-shell /usr/share/licenses/gtk-layer-shell/LICENSE_LGPL.txt /usr/share/licenses/gtk-layer-shell/LICENSE_MIT.txt


## References

* [gtk-layer-shell website](https://github.com/wmww/gtk-layer-shell)

## Summary

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