How To Install xdg-desktop-portal-kde on Ubuntu 20.04
Introduction
In this tutorial we learn how to install xdg-desktop-portal-kde
on Ubuntu 20.04.
What is xdg-desktop-portal-kde
xdg-desktop-portal-kde is:
xdg-desktop-portal-kde provides a Qt implementation for the desktop-agnostic xdg-desktop-portal service. This allows sandboxed applications to request services from outside the sandbox using KDE GUIs (app chooser, file chooser, print dialog) or using KDE services (session manager, screenshot provider). Task: kubuntu-desktop, lubuntu-desktop
Package: xdg-desktop-portal-kde Architecture: amd64 Version: 5.18.4.1-0ubuntu2 Priority: optional Section: universe/kde Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian/Kubuntu Qt/KDE Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 850 Provides: xdg-desktop-portal-backend Depends: xdg-desktop-portal, kio, libc6 (>= 2.14), libepoxy0 (>= 1.0), libgbm1 (>= 8.1~0), libkf5configcore5 (>= 4.97.0), libkf5coreaddons5 (>= 4.97.0), libkf5declarative5 (>= 5.45.0), libkf5i18n5 (>= 4.97.0), libkf5kiofilewidgets5 (>= 5.33.0), libkf5notifications5 (>= 5.58.0), libkf5waylandclient5 (>= 4:5.64.0), libkf5widgetsaddons5 (>= 4.96.0), libkf5windowsystem5 (>= 5.62.0), libpipewire-0.2-1 (>= 0.2.2), libqt5core5a (>= 5.12.2), libqt5dbus5 (>= 5.12.0~), libqt5gui5 (>= 5.12.0~) | libqt5gui5-gles (>= 5.12.0~), libqt5printsupport5 (>= 5.12.0~), libqt5qml5 (>= 5.0.2), libqt5quickwidgets5 (>= 5.4.0), libqt5widgets5 (>= 5.12.0~), libstdc++6 (>= 4.1.1), qtbase-abi-5-12-8 Filename: pool/universe/x/xdg-desktop-portal-kde/xdg-desktop-portal-kde_5.18.4.1-0ubuntu2_amd64.deb Size: 178012 MD5sum: b14e563981d3c82ef448e95c4eb39ce9 SHA1: b72871428b700d46bfeecffca8005dd4f9ca7972 SHA256: 0c8405cdce71e3e4790d8cd7fa8c2dc72172014ef3880bd843b9a8cfe60426c9 Homepage: https://cgit.kde.org/xdg-desktop-portal-kde.git/ Description-en: backend implementation for xdg-desktop-portal using Qt xdg-desktop-portal-kde provides a Qt implementation for the desktop-agnostic xdg-desktop-portal service. This allows sandboxed applications to request services from outside the sandbox using KDE GUIs (app chooser, file chooser, print dialog) or using KDE services (session manager, screenshot provider). Task: kubuntu-desktop, lubuntu-desktop
There are three methods to install xdg-desktop-portal-kde
on Ubuntu 20.04. 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-kde 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-kde
using apt-get
by running the following command:
sudo apt-get -y install xdg-desktop-portal-kde
Install xdg-desktop-portal-kde Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install xdg-desktop-portal-kde
using apt
by running the following command:
sudo apt -y install xdg-desktop-portal-kde
Install xdg-desktop-portal-kde Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install xdg-desktop-portal-kde
using aptitude
by running the following command:
sudo aptitude -y install xdg-desktop-portal-kde
How To Uninstall xdg-desktop-portal-kde on Ubuntu 20.04
To uninstall only the xdg-desktop-portal-kde
package we can use the following command:
sudo apt-get remove xdg-desktop-portal-kde
Uninstall xdg-desktop-portal-kde And Its Dependencies
To uninstall xdg-desktop-portal-kde
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove xdg-desktop-portal-kde
Remove xdg-desktop-portal-kde Configurations and Data
To remove xdg-desktop-portal-kde
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge xdg-desktop-portal-kde
Remove xdg-desktop-portal-kde configuration, data, and all of its dependencies
We can use the following command to remove xdg-desktop-portal-kde
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge xdg-desktop-portal-kde
References
Summary
In this tutorial we learn how to install xdg-desktop-portal-kde
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.