How To Install libappmenu-gtk-parser-dev-common on Ubuntu 18.04

In this tutorial we learn how to install libappmenu-gtk-parser-dev-common on Ubuntu 18.04. libappmenu-gtk-parser-dev-common is Common header files for GtkMenuShell to GMenuModel parser

Introduction

In this tutorial we learn how to install libappmenu-gtk-parser-dev-common on Ubuntu 18.04.

What is libappmenu-gtk-parser-dev-common

libappmenu-gtk-parser-dev-common is:

GTK+ module for exporting old-style menus as GMenuModels.

Many applications implement menus as GtkMenuShells and GtkMenuItems and aren’t looking to migrate to the newer GMenuModel API.

The AppMenu GTK+ module watches for these types of menus and exports the appropriate GMenuModel implementation.

This package contains header files that the GTK+2.0 and GTK+3.0 builds have in common.

There are three methods to install libappmenu-gtk-parser-dev-common 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 libappmenu-gtk-parser-dev-common Using apt-get

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

sudo apt-get update

After updating apt database, We can install libappmenu-gtk-parser-dev-common using apt-get by running the following command:

sudo apt-get -y install libappmenu-gtk-parser-dev-common

Install libappmenu-gtk-parser-dev-common Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libappmenu-gtk-parser-dev-common using apt by running the following command:

sudo apt -y install libappmenu-gtk-parser-dev-common

Install libappmenu-gtk-parser-dev-common 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 libappmenu-gtk-parser-dev-common using aptitude by running the following command:

sudo aptitude -y install libappmenu-gtk-parser-dev-common

How To Uninstall libappmenu-gtk-parser-dev-common on Ubuntu 18.04

To uninstall only the libappmenu-gtk-parser-dev-common package we can use the following command:

sudo apt-get remove libappmenu-gtk-parser-dev-common

Uninstall libappmenu-gtk-parser-dev-common And Its Dependencies

To uninstall libappmenu-gtk-parser-dev-common and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libappmenu-gtk-parser-dev-common

Remove libappmenu-gtk-parser-dev-common Configurations and Data

To remove libappmenu-gtk-parser-dev-common configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libappmenu-gtk-parser-dev-common

Remove libappmenu-gtk-parser-dev-common configuration, data, and all of its dependencies

We can use the following command to remove libappmenu-gtk-parser-dev-common configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libappmenu-gtk-parser-dev-common

References

Summary

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