How To Install libmate-menu-dev on Ubuntu 18.04

In this tutorial we learn how to install libmate-menu-dev on Ubuntu 18.04. libmate-menu-dev is implementation of the freedesktop menu specs for MATE (development files)

Introduction

In this tutorial we learn how to install libmate-menu-dev on Ubuntu 18.04.

What is libmate-menu-dev

libmate-menu-dev is:

The package contains an implementation of the draft “Desktop Menu Specification” from freedesktop.org:

http://www.freedesktop.org/Standards/menu-spec

This package contains the development files.

There are three methods to install libmate-menu-dev on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libmate-menu-dev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libmate-menu-dev using apt-get by running the following command:

sudo apt-get -y install libmate-menu-dev

Install libmate-menu-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libmate-menu-dev using apt by running the following command:

sudo apt -y install libmate-menu-dev

Install libmate-menu-dev Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libmate-menu-dev using aptitude by running the following command:

sudo aptitude -y install libmate-menu-dev

How To Uninstall libmate-menu-dev on Ubuntu 18.04

To uninstall only the libmate-menu-dev package we can use the following command:

sudo apt-get remove libmate-menu-dev

Uninstall libmate-menu-dev And Its Dependencies

To uninstall libmate-menu-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libmate-menu-dev

Remove libmate-menu-dev Configurations and Data

To remove libmate-menu-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libmate-menu-dev

Remove libmate-menu-dev configuration, data, and all of its dependencies

We can use the following command to remove libmate-menu-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libmate-menu-dev

References

Summary

In this tutorial we learn how to install libmate-menu-dev package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.