How To Install xdg-utils.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install xdg-utils.noarch on Amazon Linux 2.
What is xdg-utils.noarch
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 to install xdg-utils.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install xdg-utils.noarch.
Install xdg-utils.noarch 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-utils.noarch using yum by running the following command:
sudo yum -y install xdg-utils.noarch
How To Uninstall xdg-utils.noarch on Amazon Linux 2
To uninstall only the xdg-utils.noarch package we can use the following command:
sudo yum remove xdg-utils.noarch
xdg-utils.noarch Package Contents on Amazon Linux 2
/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-1.1.0
/usr/share/doc/xdg-utils-1.1.0/ChangeLog
/usr/share/doc/xdg-utils-1.1.0/LICENSE
/usr/share/doc/xdg-utils-1.1.0/README
/usr/share/doc/xdg-utils-1.1.0/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.noarch on Amazon Linux 2 using yum.