How To Install lxmenu-data on CentOS 7

In this tutorial we learn how to install lxmenu-data on CentOS 7. lxmenu-data is Data files for the LXDE menu

Introduction

In this tutorial we learn how to install lxmenu-data on CentOS 7.

What is lxmenu-data

The lxmenu-data contains files used to build the menu in LXDE according to the freedesktop-org menu spec. Currently it’s used by LXPanel and LXLauncher.

We can use yum or dnf to install lxmenu-data on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install lxmenu-data.

Install lxmenu-data on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install lxmenu-data

Install lxmenu-data on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install lxmenu-data

How To Uninstall lxmenu-data on CentOS 7

To uninstall only the lxmenu-data package we can use the following command:

sudo dnf remove lxmenu-data

References

Summary

In this tutorial we learn how to install lxmenu-data on CentOS 7 using yum and dnf.