How To Install unity-gtk-module-common on Ubuntu 18.04

In this tutorial we learn how to install unity-gtk-module-common on Ubuntu 18.04. unity-gtk-module-common is Common files for GtkMenuShell D-Bus exporter

Introduction

In this tutorial we learn how to install unity-gtk-module-common on Ubuntu 18.04.

What is unity-gtk-module-common

unity-gtk-module-common is:

This GTK+ module exports GtkMenuShells over D-Bus.

This package contains common data files.

There are three methods to install unity-gtk-module-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 unity-gtk-module-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 unity-gtk-module-common using apt-get by running the following command:

sudo apt-get -y install unity-gtk-module-common

Install unity-gtk-module-common Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install unity-gtk-module-common using apt by running the following command:

sudo apt -y install unity-gtk-module-common

Install unity-gtk-module-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 unity-gtk-module-common using aptitude by running the following command:

sudo aptitude -y install unity-gtk-module-common

How To Uninstall unity-gtk-module-common on Ubuntu 18.04

To uninstall only the unity-gtk-module-common package we can use the following command:

sudo apt-get remove unity-gtk-module-common

Uninstall unity-gtk-module-common And Its Dependencies

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

sudo apt-get -y autoremove unity-gtk-module-common

Remove unity-gtk-module-common Configurations and Data

To remove unity-gtk-module-common configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge unity-gtk-module-common

Remove unity-gtk-module-common configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge unity-gtk-module-common

References

Summary

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