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-7.7 platform.

Package Information

feh Dependencies


libpng-1.6.16 and Imlib2-1.4.6




Optional (runtime)

libjpeg-turbo-1.4.0 (for lossless image rotation), and ImageMagick-6.9.0-6 (to load unsupported formats)

Optional (test suite)

Test::Command-0.11 (required)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/feh

Installation of feh

Install feh by running the following commands:

sed -i "s:doc/feh:&-2.12:" 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:&-2.12:" 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 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-2.12 and /usr/share/feh

Short Descriptions


is an image viewer and cataloguer.

Last updated on 2015-03-02 19:42:44 -0800