How To Install xdg-utils on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install xdg-utils on AlmaLinux 8.

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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install xdg-utils.

Install xdg-utils on AlmaLinux 8 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 AlmaLinux 8 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 AlmaLinux 8

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

sudo dnf remove xdg-utils

References

Summary

In this tutorial we learn how to install xdg-utils on AlmaLinux 8 using yum and dnf.