How To Install gtk2-engines-xfce on Ubuntu 18.04

In this tutorial we learn how to install gtk2-engines-xfce on Ubuntu 18.04. gtk2-engines-xfce is GTK+-2.0 theme engine for Xfce

Introduction

In this tutorial we learn how to install gtk2-engines-xfce on Ubuntu 18.04.

What is gtk2-engines-xfce

gtk2-engines-xfce is:

This package contains a theme engine allowing users to apply various GTK2.0 themes to Xfce. It also contains some ready themes, but users are of course free to use other themes or design their own.

There are three methods to install gtk2-engines-xfce 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 gtk2-engines-xfce Using apt-get

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

sudo apt-get update

After updating apt database, We can install gtk2-engines-xfce using apt-get by running the following command:

sudo apt-get -y install gtk2-engines-xfce

Install gtk2-engines-xfce Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gtk2-engines-xfce using apt by running the following command:

sudo apt -y install gtk2-engines-xfce

Install gtk2-engines-xfce 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 gtk2-engines-xfce using aptitude by running the following command:

sudo aptitude -y install gtk2-engines-xfce

How To Uninstall gtk2-engines-xfce on Ubuntu 18.04

To uninstall only the gtk2-engines-xfce package we can use the following command:

sudo apt-get remove gtk2-engines-xfce

Uninstall gtk2-engines-xfce And Its Dependencies

To uninstall gtk2-engines-xfce and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove gtk2-engines-xfce

Remove gtk2-engines-xfce Configurations and Data

To remove gtk2-engines-xfce configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge gtk2-engines-xfce

Remove gtk2-engines-xfce configuration, data, and all of its dependencies

We can use the following command to remove gtk2-engines-xfce configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gtk2-engines-xfce

References

Summary

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