How To Install xdg-utils on Fedora 36

In this tutorial we learn how to install xdg-utils in Fedora 36. xdg-utils is Basic desktop integration functions

Introduction

In this tutorial we learn how to install xdg-utils on Fedora 36.

What is xdg-utils

The xdg-utils package is a set of simple scripts that provide basic desktop integration functions for any Free Desktop, such as Linux. They are intended to provide a set of defacto standards. This means that * Third party software developers can rely on these xdg-utils for all of their simple integration needs. * Developers of desktop environments can make sure that their environments are well supported * Distribution vendors can provide custom versions of these utilities The following scripts are provided at this time * xdg-desktop-icon Install icons to the desktop * xdg-desktop-menu Install desktop menu items * xdg-email Send mail using the user’s preferred e-mail composer * xdg-icon-resource Install icon resources * xdg-mime Query information about file type handling and install descriptions for new file types * xdg-open Open a file or URL in the user’s preferred application * xdg-screensaver Control the screensaver * xdg-settings Get various settings from the desktop environment

We can use yum or dnf to install xdg-utils on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install xdg-utils.

Install xdg-utils on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install xdg-utils

Install xdg-utils on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install xdg-utils

How To Uninstall xdg-utils on Fedora 36

To uninstall only the xdg-utils package we can use the following command:

sudo dnf remove xdg-utils

xdg-utils Package Contents on Fedora 36

/usr/bin/xdg-desktop-icon
/usr/bin/xdg-desktop-menu
/usr/bin/xdg-email
/usr/bin/xdg-icon-resource
/usr/bin/xdg-mime
/usr/bin/xdg-open
/usr/bin/xdg-screensaver
/usr/bin/xdg-settings
/usr/share/doc/xdg-utils
/usr/share/doc/xdg-utils/ChangeLog
/usr/share/doc/xdg-utils/LICENSE
/usr/share/doc/xdg-utils/README
/usr/share/doc/xdg-utils/TODO
/usr/share/man/man1/xdg-desktop-icon.1.gz
/usr/share/man/man1/xdg-desktop-menu.1.gz
/usr/share/man/man1/xdg-email.1.gz
/usr/share/man/man1/xdg-icon-resource.1.gz
/usr/share/man/man1/xdg-mime.1.gz
/usr/share/man/man1/xdg-open.1.gz
/usr/share/man/man1/xdg-screensaver.1.gz
/usr/share/man/man1/xdg-settings.1.gz

References

Summary

In this tutorial we learn how to install xdg-utils on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).