How To Install gtk-layer-shell-doc on Kali Linux

In this tutorial we learn how to install gtk-layer-shell-doc on Kali Linux. gtk-layer-shell-doc is documentation for the Wayland Layer Shell protocol desktop component library

Introduction

In this tutorial we learn how to install gtk-layer-shell-doc on Kali Linux.

What is gtk-layer-shell-doc

gtk-layer-shell-doc is:

A library to write GTK applications that use Layer Shell. 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.

This package contains the HTML documentation for the GTK library in /usr/share/gtk-doc/gtk-layer-shell/ .

There are three methods to install gtk-layer-shell-doc on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install gtk-layer-shell-doc Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install gtk-layer-shell-doc using apt-get by running the following command:

sudo apt-get -y install gtk-layer-shell-doc

Install gtk-layer-shell-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gtk-layer-shell-doc using apt by running the following command:

sudo apt -y install gtk-layer-shell-doc

Install gtk-layer-shell-doc Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install gtk-layer-shell-doc using aptitude by running the following command:

sudo aptitude -y install gtk-layer-shell-doc

How To Uninstall gtk-layer-shell-doc on Kali Linux

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

sudo apt-get remove gtk-layer-shell-doc

Uninstall gtk-layer-shell-doc And Its Dependencies

To uninstall gtk-layer-shell-doc and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove gtk-layer-shell-doc

Remove gtk-layer-shell-doc Configurations and Data

To remove gtk-layer-shell-doc configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge gtk-layer-shell-doc

Remove gtk-layer-shell-doc configuration, data, and all of its dependencies

We can use the following command to remove gtk-layer-shell-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gtk-layer-shell-doc

Dependencies

gtk-layer-shell-doc have the following dependencies:

References

Summary

In this tutorial we learn how to install gtk-layer-shell-doc package on Kali Linux using different package management tools: apt, apt-get and aptitude.