variety command not found

In this troubleshooting guide we learn how to fix variety command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

variety: command not found

or when using sudo you get the following error message

sudo: variety: command not found

Solutions to variety: command not found

How To Fix variety: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu variety is provided by variety package.

variety is:

Variety is a wallpaper manager for Linux systems. It supports numerous desktops and wallpaper sources, including local files and online services: Flickr, Wallhaven, Unsplash, and more.

Where supported, Variety sits as a tray icon to allow easy pausing and resuming. Otherwise, its desktop entry menu provides a similar set of options.

You can also install the following (suggested) packages to enhance Variety’s functionality on certain desktop setups:

  • feh | nitrogen: used for wallpaper changing on i3, openbox, and dwm
  • gnome-shell-extension-appindicator | gnome-shell-extension-top-icons-plus: adds tray icon / indicator support to GNOME Shell, so that Variety’s tray icon can be displayed

To fix this problem, we can install more using the command below.

sudo apt-get -y install variety

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install variety.

sudo apt -y install variety

Or if you have aptitude installed you can use the following command.

sudo aptitude install variety

Summary

In this tutorial we learn how to fix variety command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.