How To Install xdg-desktop-portal.x86_64 on Amazon Linux 2

In this tutorial we learn how to install xdg-desktop-portal.x86_64 in Amazon Linux 2. xdg-desktop-portal.x86_64 is Portal frontend service to flatpak

Introduction

In this tutorial we learn how to install xdg-desktop-portal.x86_64 on Amazon Linux 2.

What is xdg-desktop-portal.x86_64

xdg-desktop-portal works by exposing a series of D-Bus interfaces known as portals under a well-known name (org.freedesktop.portal.Desktop) and object path (/org/freedesktop/portal/desktop). The portal interfaces include APIs for file access, opening URIs, printing and others.

We can use yum to install xdg-desktop-portal.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install xdg-desktop-portal.x86_64.

Install xdg-desktop-portal.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install xdg-desktop-portal.x86_64

How To Uninstall xdg-desktop-portal.x86_64 on Amazon Linux 2

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

sudo yum remove xdg-desktop-portal.x86_64

xdg-desktop-portal.x86_64 Package Contents on Amazon Linux 2

/usr/lib/systemd/user/xdg-desktop-portal.service
/usr/lib/systemd/user/xdg-document-portal.service
/usr/lib/systemd/user/xdg-permission-store.service
/usr/libexec/xdg-desktop-portal
/usr/libexec/xdg-document-portal
/usr/libexec/xdg-permission-store
/usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Access.xml
/usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Account.xml
/usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.AppChooser.xml
/usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Email.xml
/usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.FileChooser.xml
/usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Inhibit.xml
/usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Notification.xml
/usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.PermissionStore.xml
/usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Print.xml
/usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.RemoteDesktop.xml
/usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Request.xml
/usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.ScreenCast.xml
/usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Screenshot.xml
/usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Session.xml
/usr/share/dbus-1/interfaces/org.freedesktop.portal.Account.xml
/usr/share/dbus-1/interfaces/org.freedesktop.portal.Device.xml
/usr/share/dbus-1/interfaces/org.freedesktop.portal.Documents.xml
/usr/share/dbus-1/interfaces/org.freedesktop.portal.Email.xml
/usr/share/dbus-1/interfaces/org.freedesktop.portal.FileChooser.xml
/usr/share/dbus-1/interfaces/org.freedesktop.portal.Inhibit.xml
/usr/share/dbus-1/interfaces/org.freedesktop.portal.NetworkMonitor.xml
/usr/share/dbus-1/interfaces/org.freedesktop.portal.Notification.xml
/usr/share/dbus-1/interfaces/org.freedesktop.portal.OpenURI.xml
/usr/share/dbus-1/interfaces/org.freedesktop.portal.Print.xml
/usr/share/dbus-1/interfaces/org.freedesktop.portal.ProxyResolver.xml
/usr/share/dbus-1/interfaces/org.freedesktop.portal.RemoteDesktop.xml
/usr/share/dbus-1/interfaces/org.freedesktop.portal.Request.xml
/usr/share/dbus-1/interfaces/org.freedesktop.portal.ScreenCast.xml
/usr/share/dbus-1/interfaces/org.freedesktop.portal.Screenshot.xml
/usr/share/dbus-1/interfaces/org.freedesktop.portal.Session.xml
/usr/share/dbus-1/interfaces/org.freedesktop.portal.Trash.xml
/usr/share/dbus-1/services/org.freedesktop.impl.portal.PermissionStore.service
/usr/share/dbus-1/services/org.freedesktop.portal.Desktop.service
/usr/share/dbus-1/services/org.freedesktop.portal.Documents.service
/usr/share/doc/xdg-desktop-portal-1.0.2
/usr/share/doc/xdg-desktop-portal-1.0.2/README.md
/usr/share/doc/xdg-desktop-portal-1.0.2/docbook.css
/usr/share/doc/xdg-desktop-portal-1.0.2/portal-docs.html
/usr/share/licenses/xdg-desktop-portal-1.0.2
/usr/share/licenses/xdg-desktop-portal-1.0.2/COPYING
/usr/share/locale/cs/LC_MESSAGES/xdg-desktop-portal.mo
/usr/share/locale/de/LC_MESSAGES/xdg-desktop-portal.mo
/usr/share/locale/es/LC_MESSAGES/xdg-desktop-portal.mo
/usr/share/locale/fr/LC_MESSAGES/xdg-desktop-portal.mo
/usr/share/locale/gl/LC_MESSAGES/xdg-desktop-portal.mo
/usr/share/locale/hu/LC_MESSAGES/xdg-desktop-portal.mo
/usr/share/locale/id/LC_MESSAGES/xdg-desktop-portal.mo
/usr/share/locale/it/LC_MESSAGES/xdg-desktop-portal.mo
/usr/share/locale/lt/LC_MESSAGES/xdg-desktop-portal.mo
/usr/share/locale/pl/LC_MESSAGES/xdg-desktop-portal.mo
/usr/share/locale/pt_BR/LC_MESSAGES/xdg-desktop-portal.mo
/usr/share/locale/sk/LC_MESSAGES/xdg-desktop-portal.mo
/usr/share/locale/sr/LC_MESSAGES/xdg-desktop-portal.mo
/usr/share/locale/sv/LC_MESSAGES/xdg-desktop-portal.mo
/usr/share/locale/tr/LC_MESSAGES/xdg-desktop-portal.mo
/usr/share/locale/uk/LC_MESSAGES/xdg-desktop-portal.mo
/usr/share/locale/zh_CN/LC_MESSAGES/xdg-desktop-portal.mo
/usr/share/locale/zh_TW/LC_MESSAGES/xdg-desktop-portal.mo
/usr/share/xdg-desktop-portal
/usr/share/xdg-desktop-portal/portals

References

Summary

In this tutorial we learn how to install xdg-desktop-portal.x86_64 on Amazon Linux 2 using yum.