How To Install extra-xdg-menus on Ubuntu 18.04

In this tutorial we learn how to install extra-xdg-menus on Ubuntu 18.04. extra-xdg-menus is Extra menu categories for applications under GNOME and KDE

Introduction

In this tutorial we learn how to install extra-xdg-menus on Ubuntu 18.04.

What is extra-xdg-menus

extra-xdg-menus is:

This package installs various optional extra desktop menus for grouping applications on GNOME, KDE and other XDG menu-spec compliant desktop environments. The extra menus may be enabled or disbled on a system or per-user basis with the supplied scripts, exmenen and exmendis.

There are three methods to install extra-xdg-menus 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 extra-xdg-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 extra-xdg-menus using apt-get by running the following command:

sudo apt-get -y install extra-xdg-menus

Install extra-xdg-menus Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install extra-xdg-menus

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

sudo aptitude -y install extra-xdg-menus

How To Uninstall extra-xdg-menus on Ubuntu 18.04

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

sudo apt-get remove extra-xdg-menus

Uninstall extra-xdg-menus And Its Dependencies

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

sudo apt-get -y autoremove extra-xdg-menus

Remove extra-xdg-menus Configurations and Data

To remove extra-xdg-menus configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge extra-xdg-menus

Remove extra-xdg-menus configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge extra-xdg-menus

References

Summary

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