How To Install desktop-file-utils.x86_64 on Amazon Linux 2

In this tutorial we learn how to install desktop-file-utils.x86_64 in Amazon Linux 2. desktop-file-utils.x86_64 is Utilities for manipulating .desktop files

Introduction

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

What is desktop-file-utils.x86_64

.desktop files are used to describe an application for inclusion in GNOME or KDE menus. This package contains desktop-file-validate which checks whether a .desktop file complies with the specification at http which installs a desktop file to the standard directory, optionally fixing it up in the process.

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

Install desktop-file-utils.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 desktop-file-utils.x86_64 using yum by running the following command:

sudo yum -y install desktop-file-utils.x86_64

How To Uninstall desktop-file-utils.x86_64 on Amazon Linux 2

To uninstall only the desktop-file-utils.x86_64 package we can use the following command:

sudo yum remove desktop-file-utils.x86_64

desktop-file-utils.x86_64 Package Contents on Amazon Linux 2

/usr/bin/desktop-file-edit
/usr/bin/desktop-file-install
/usr/bin/desktop-file-validate
/usr/bin/update-desktop-database
/usr/share/doc/desktop-file-utils-0.23
/usr/share/doc/desktop-file-utils-0.23/AUTHORS
/usr/share/doc/desktop-file-utils-0.23/COPYING
/usr/share/doc/desktop-file-utils-0.23/NEWS
/usr/share/doc/desktop-file-utils-0.23/README
/usr/share/emacs/site-lisp/desktop-file-utils
/usr/share/emacs/site-lisp/desktop-file-utils/desktop-entry-mode.el
/usr/share/emacs/site-lisp/desktop-file-utils/desktop-entry-mode.elc
/usr/share/emacs/site-lisp/site-start.d/desktop-entry-mode-init.el
/usr/share/emacs/site-lisp/site-start.d/desktop-entry-mode-init.elc
/usr/share/man/man1/desktop-file-edit.1.gz
/usr/share/man/man1/desktop-file-install.1.gz
/usr/share/man/man1/desktop-file-validate.1.gz
/usr/share/man/man1/update-desktop-database.1.gz

References

Summary

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