How To Install gtk2-engines-sugar on Ubuntu 18.04

In this tutorial we learn how to install gtk2-engines-sugar on Ubuntu 18.04. gtk2-engines-sugar is Sugar Learning Platform - GTK+ 2.x theme engine

Introduction

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

What is gtk2-engines-sugar

gtk2-engines-sugar is:

Sugar Learning Platform promotes collaborative learning through Sugar Activities that encourage critical thinking, the heart of a quality education. Designed from the ground up especially for children, Sugar offers an alternative to traditional “office-desktop” software.

This package contains the GTK+ theme engine for Sugar.

There are three methods to install gtk2-engines-sugar 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-sugar 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-sugar using apt-get by running the following command:

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

Install gtk2-engines-sugar Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gtk2-engines-sugar

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

sudo aptitude -y install gtk2-engines-sugar

How To Uninstall gtk2-engines-sugar on Ubuntu 18.04

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

sudo apt-get remove gtk2-engines-sugar

Uninstall gtk2-engines-sugar And Its Dependencies

To uninstall gtk2-engines-sugar 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-sugar

Remove gtk2-engines-sugar Configurations and Data

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

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

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

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

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

References

Summary

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