How To Install kde-config-gtk-style-preview on Ubuntu 18.04

In this tutorial we learn how to install kde-config-gtk-style-preview on Ubuntu 18.04. kde-config-gtk-style-preview is KDE configuration module for GTK+ 2.x and GTK+ 3.x styles selection (extras)

Introduction

In this tutorial we learn how to install kde-config-gtk-style-preview on Ubuntu 18.04.

What is kde-config-gtk-style-preview

kde-config-gtk-style-preview is:

Configuration dialog to adapt GTK+ applications appearance to your taste under KDE. Among its many features, it lets you:

  • Choose which theme is used for GTK+ 2.x and GTK+ 3.x applications.
  • Tweak some GTK+ applications behaviour.
  • Select what icon theme to use in GTK+ applications.
  • Select GTK+ applications default fonts.
  • Easily browse and install new GTK+ 2.x and GTK+ 3.x themes. . This package contains binary files for previewing Gtk themes and applying them without restarting of Gtk applications.

There are three methods to install kde-config-gtk-style-preview 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 kde-config-gtk-style-preview Using apt-get

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

sudo apt-get update

After updating apt database, We can install kde-config-gtk-style-preview using apt-get by running the following command:

sudo apt-get -y install kde-config-gtk-style-preview

Install kde-config-gtk-style-preview Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install kde-config-gtk-style-preview using apt by running the following command:

sudo apt -y install kde-config-gtk-style-preview

Install kde-config-gtk-style-preview 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 kde-config-gtk-style-preview using aptitude by running the following command:

sudo aptitude -y install kde-config-gtk-style-preview

How To Uninstall kde-config-gtk-style-preview on Ubuntu 18.04

To uninstall only the kde-config-gtk-style-preview package we can use the following command:

sudo apt-get remove kde-config-gtk-style-preview

Uninstall kde-config-gtk-style-preview And Its Dependencies

To uninstall kde-config-gtk-style-preview and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove kde-config-gtk-style-preview

Remove kde-config-gtk-style-preview Configurations and Data

To remove kde-config-gtk-style-preview configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge kde-config-gtk-style-preview

Remove kde-config-gtk-style-preview configuration, data, and all of its dependencies

We can use the following command to remove kde-config-gtk-style-preview configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge kde-config-gtk-style-preview

References

Summary

In this tutorial we learn how to install kde-config-gtk-style-preview package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.