How To Install unity-gtk2-module on Ubuntu 18.04
Introduction
In this tutorial we learn how to install unity-gtk2-module
on Ubuntu 18.04.
What is unity-gtk2-module
unity-gtk2-module is:
This GTK+ 2 module exports GtkMenuShells over D-Bus.
There are three methods to install unity-gtk2-module
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-gtk2-module 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-gtk2-module
using apt-get
by running the following command:
sudo apt-get -y install unity-gtk2-module
Install unity-gtk2-module Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install unity-gtk2-module
using apt
by running the following command:
sudo apt -y install unity-gtk2-module
Install unity-gtk2-module 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-gtk2-module
using aptitude
by running the following command:
sudo aptitude -y install unity-gtk2-module
How To Uninstall unity-gtk2-module on Ubuntu 18.04
To uninstall only the unity-gtk2-module
package we can use the following command:
sudo apt-get remove unity-gtk2-module
Uninstall unity-gtk2-module And Its Dependencies
To uninstall unity-gtk2-module
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove unity-gtk2-module
Remove unity-gtk2-module Configurations and Data
To remove unity-gtk2-module
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge unity-gtk2-module
Remove unity-gtk2-module configuration, data, and all of its dependencies
We can use the following command to remove unity-gtk2-module
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge unity-gtk2-module
References
Summary
In this tutorial we learn how to install unity-gtk2-module
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.