How To Install xdg-desktop-portal-kde on CentOS 8

xdg-desktop-portal-kde is Backend implementation for xdg-desktop-portal using Qt/KF5

Introduction

In this tutorial we learn how to install xdg-desktop-portal-kde on CentOS 8.

What is xdg-desktop-portal-kde

A backend implementation for xdg-desktop-portal that is using Qt/KF5 and various pieces of KDE infrastructure.

We can use yum or dnf to install xdg-desktop-portal-kde on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install xdg-desktop-portal-kde.

Install xdg-desktop-portal-kde on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install xdg-desktop-portal-kde using dnf by running the following command:

sudo dnf -y install xdg-desktop-portal-kde

Install xdg-desktop-portal-kde on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install xdg-desktop-portal-kde

How To Uninstall xdg-desktop-portal-kde on CentOS 8

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

sudo dnf remove xdg-desktop-portal-kde

xdg-desktop-portal-kde Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/6d3fb559d0e7f3c5ebd237e7055202055e3a40
/usr/libexec/xdg-desktop-portal-kde
/usr/share/applications/org.freedesktop.impl.portal.desktop.kde.desktop
/usr/share/dbus-1/services/org.freedesktop.impl.portal.desktop.kde.service
/usr/share/licenses/xdg-desktop-portal-kde
/usr/share/licenses/xdg-desktop-portal-kde/COPYING
/usr/share/locale/ca/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/cs/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/da/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/de/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/el/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/en_GB/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/es/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/et/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/eu/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/fi/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/fr/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/gl/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/he/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/hu/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/ia/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/id/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/it/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/ko/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/lt/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/nl/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/nn/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/pa/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/pl/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/pt/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/pt_BR/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/ru/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/sk/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/sl/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/sr/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/sr@ijekavian/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/sr@ijekavianlatin/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/sr@latin/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/sv/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/tr/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/uk/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/zh_CN/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/locale/zh_TW/LC_MESSAGES/xdg-desktop-portal-kde.mo
/usr/share/xdg-desktop-portal-kde/qml/AppChooserDialog.qml
/usr/share/xdg-desktop-portal/portals/kde.portal

References

Summary

In this tutorial we learn how to install xdg-desktop-portal-kde on CentOS 8 using yum and dnf.