feh command not found

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

Introduction

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

feh: command not found

or when using sudo you get the following error message

sudo: feh: command not found

Solutions to feh: command not found

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

In Ubuntu feh is provided by feh package.

feh is:

feh is a fast, lightweight image viewer which uses imlib2. It is commandline-driven and supports multiple images through slideshows, thumbnail browsing or multiple windows, and montages or index prints (using TrueType fonts to display file info). Advanced features include fast dynamic zooming, progressive loading, loading via HTTP (with reload support for watching webcams), recursive file opening (slideshow of a directory hierarchy), and mouse wheel/keyboard control.

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

sudo apt-get -y install feh

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

You can also use apt command to install feh.

sudo apt -y install feh

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

sudo aptitude install feh

Summary

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