Introduction to feh

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.

This package is known to build and work properly using an LFS 12.1 platform.

Package Information

  • Download (HTTP): https://feh.finalrewind.org/feh-3.10.2.tar.bz2

  • Download MD5 sum: 0a780bf321c0653d03e3e18410f4d1ba

  • Download size: 2.1 MB

  • Estimated disk space required: 6.9 MB (with tests)

  • Estimated build time: less than 0.1 SBU (with tests)

feh Dependencies


libpng-1.6.42 and imlib2-1.12.2 (built with giflib-5.2.1 support, for the tests)




Optional (runtime)

libjpeg-turbo-3.0.1 (for lossless image rotation) and ImageMagick-7.1.1-28 (to load unsupported formats)

Optional (test suite)

Test-Command-0.11 (required) and mandoc-1.14.6 (optional)

Installation of feh

Install feh by running the following commands:

sed -i "s:doc/feh:&-3.10.2:" config.mk &&
make PREFIX=/usr

To test the results, issue: make test.

Now, as the root user:

make PREFIX=/usr install

Command Explanations

sed -i "s:doc/feh:&-3.10.2:" config.mk: This sed fixes the doc directory to a versioned one, as used in BLFS.

curl=0: Use this make flag if you don't have the cURL package installed.

exif=1: This make flag enables builtin Exif tag display support.


Installed Program: feh
Installed Libraries: None
Installed Directories: /usr/share/doc/feh-3.10.2 and /usr/share/feh

Short Descriptions


is an image viewer and cataloguer