How To Install xdg-desktop-portal-wlr on Kali Linux

In this tutorial we learn how to install xdg-desktop-portal-wlr on Kali Linux. xdg-desktop-portal-wlr is xdg-desktop-portal backend for wlroots

Introduction

In this tutorial we learn how to install xdg-desktop-portal-wlr on Kali Linux.

What is xdg-desktop-portal-wlr

xdg-desktop-portal-wlr is:

Support for the screenshot, screencast, and possibly remote-desktop xdg-desktop-portal interfaces for wlroots based compositors.

There are three methods to install xdg-desktop-portal-wlr 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 xdg-desktop-portal-wlr Using apt-get

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

sudo apt-get update

After updating apt database, We can install xdg-desktop-portal-wlr using apt-get by running the following command:

sudo apt-get -y install xdg-desktop-portal-wlr

Install xdg-desktop-portal-wlr Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install xdg-desktop-portal-wlr using apt by running the following command:

sudo apt -y install xdg-desktop-portal-wlr

Install xdg-desktop-portal-wlr 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 xdg-desktop-portal-wlr using aptitude by running the following command:

sudo aptitude -y install xdg-desktop-portal-wlr

How To Uninstall xdg-desktop-portal-wlr on Kali Linux

To uninstall only the xdg-desktop-portal-wlr package we can use the following command:

sudo apt-get remove xdg-desktop-portal-wlr

Uninstall xdg-desktop-portal-wlr And Its Dependencies

To uninstall xdg-desktop-portal-wlr and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove xdg-desktop-portal-wlr

Remove xdg-desktop-portal-wlr Configurations and Data

To remove xdg-desktop-portal-wlr configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge xdg-desktop-portal-wlr

Remove xdg-desktop-portal-wlr configuration, data, and all of its dependencies

We can use the following command to remove xdg-desktop-portal-wlr configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge xdg-desktop-portal-wlr

Dependencies

xdg-desktop-portal-wlr have the following dependencies:

References

Summary

In this tutorial we learn how to install xdg-desktop-portal-wlr package on Kali Linux using different package management tools: apt, apt-get and aptitude.