gtk-theme-switch2 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gtk-theme-switch2: command not found
or when using sudo you get the following error message
sudo: gtk-theme-switch2: command not found
Solutions to gtk-theme-switch2: command not found
How To Fix gtk-theme-switch2: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gtk-theme-switch2 is provided by gtk-theme-switch package.
gtk-theme-switch is:
Utilities to easily switch GTK+ themes that can be run from the console, and has an optional GUI dock and theme preview. It can install themes downloaded from gtk.themes.org as well straight from the tarball.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gtk-theme-switch
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gtk-theme-switch.
sudo apt -y install gtk-theme-switch
Or if you have aptitude installed you can use the following command.
sudo aptitude install gtk-theme-switch
Summary
In this tutorial we learn how to fix gtk-theme-switch2 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.