How To Install appmenu-registrar on Ubuntu 20.04

In this tutorial we learn how to install appmenu-registrar on Ubuntu 20.04. appmenu-registrar is Appmenu DBusMenu registrar

Introduction

In this tutorial we learn how to install appmenu-registrar on Ubuntu 20.04.

What is appmenu-registrar

appmenu-registrar is:

This package provides a standalone Appmenu registrar that allows other applications to access any active window’s application menu tree.

Such a registrar is extremely useful for, e.g.

  • implementing global menus (application menus appear in the top panel bar of the desktop environment)
  • adding an application menu browser or search engine to HUDs

The registrar uses the protocol originally published with the Unity7 desktop environment. It supports all features found in that implementation.

The menu hiding functionality in appmenu-gtk-module depends on the registrar’s presence.

This package is a subproject of the vala-panel-appmenu project. Task: ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install appmenu-registrar on Ubuntu 20.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 appmenu-registrar Using apt-get

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

sudo apt-get update

After updating apt database, We can install appmenu-registrar using apt-get by running the following command:

sudo apt-get -y install appmenu-registrar

Install appmenu-registrar Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install appmenu-registrar using apt by running the following command:

sudo apt -y install appmenu-registrar

Install appmenu-registrar 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 appmenu-registrar using aptitude by running the following command:

sudo aptitude -y install appmenu-registrar

How To Uninstall appmenu-registrar on Ubuntu 20.04

To uninstall only the appmenu-registrar package we can use the following command:

sudo apt-get remove appmenu-registrar

Uninstall appmenu-registrar And Its Dependencies

To uninstall appmenu-registrar and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove appmenu-registrar

Remove appmenu-registrar Configurations and Data

To remove appmenu-registrar configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge appmenu-registrar

Remove appmenu-registrar configuration, data, and all of its dependencies

We can use the following command to remove appmenu-registrar configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge appmenu-registrar

References

Summary

In this tutorial we learn how to install appmenu-registrar package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.