How To Install gnome-menus on Ubuntu 20.04

In this tutorial we learn how to install gnome-menus on Ubuntu 20.04. gnome-menus is GNOME implementation of the freedesktop menu specification

Introduction

In this tutorial we learn how to install gnome-menus on Ubuntu 20.04.

What is gnome-menus

gnome-menus is:

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

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

Also contained here are the GNOME menu layout configuration files, .directory files and assorted menu related utility programs. Task: ubuntu-desktop-minimal, ubuntu-desktop, xubuntu-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install gnome-menus 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 gnome-menus Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gnome-menus

Install gnome-menus Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gnome-menus

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

sudo aptitude -y install gnome-menus

How To Uninstall gnome-menus on Ubuntu 20.04

To uninstall only the gnome-menus package we can use the following command:

sudo apt-get remove gnome-menus

Uninstall gnome-menus And Its Dependencies

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

sudo apt-get -y autoremove gnome-menus

Remove gnome-menus Configurations and Data

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

sudo apt-get -y purge gnome-menus

Remove gnome-menus configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gnome-menus

References

Summary

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