How To Install gnome-tweaks on Ubuntu 18.04

In this tutorial we learn how to install gnome-tweaks on Ubuntu 18.04. gnome-tweaks is tool to adjust advanced configuration settings for GNOME

Introduction

In this tutorial we learn how to install gnome-tweaks on Ubuntu 18.04.

What is gnome-tweaks

gnome-tweaks is:

GNOME Tweak Tool allows the adjustment of several advanced GNOME options that can’t be configured in gnome-control-center. This includes things like:

  • fonts used in user interface elements and titlebar
  • font hinting and aliasing
  • alternative user interface themes
  • changes in window management behaviour
  • behaviour on laptop lid close
  • file manager desktop icons
  • icons in menus and buttons

There are three methods to install gnome-tweaks 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 gnome-tweaks Using apt-get

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

sudo apt-get update

After updating apt database, We can install gnome-tweaks using apt-get by running the following command:

sudo apt-get -y install gnome-tweaks

Install gnome-tweaks Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gnome-tweaks using apt by running the following command:

sudo apt -y install gnome-tweaks

Install gnome-tweaks 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 gnome-tweaks using aptitude by running the following command:

sudo aptitude -y install gnome-tweaks

How To Uninstall gnome-tweaks on Ubuntu 18.04

To uninstall only the gnome-tweaks package we can use the following command:

sudo apt-get remove gnome-tweaks

Uninstall gnome-tweaks And Its Dependencies

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

sudo apt-get -y autoremove gnome-tweaks

Remove gnome-tweaks Configurations and Data

To remove gnome-tweaks configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge gnome-tweaks

Remove gnome-tweaks configuration, data, and all of its dependencies

We can use the following command to remove gnome-tweaks configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gnome-tweaks

References

Summary

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