Automic VaultAutomic Vault

brew

Install feh with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

X11 image viewer. Version 3.12.2 via Homebrew; verified 2026-05-07.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install feh

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install feh

MacPorts ports tree · graphics/feh/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add feh

Alpine Linux edge package indexes · feh · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install feh

Debian stable package indexes · feh · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install feh

Fedora Rawhide package metadata · feh · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#feh

nixpkgs package indexes · pkgs/by-name/fe/feh/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S feh

Arch Linux sync databases · feh · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install feh

openSUSE Tumbleweed package metadata · feh · source: download.opensuse.org

overview

Package summary

X11 image viewer

Commands and aliases

  • feh

history

Project history and usage

feh is a lightweight X11 image viewer and cataloguer aimed at command-line users. Its official manual and homepage emphasize a Unix-style workflow: run it from a shell, feed it files, directories, URLs, or filelists, and control it through options, key bindings, mouse bindings, stdin, and signals.

Project history

The project has been maintained for many years as a small, focused image viewer built around imlib2 and X11 rather than a desktop photo-management stack. The public release archive documents continuous 1.x, 2.x, and 3.x releases from at least 2010 through 2026, with release notes focused on practical viewer behavior, build portability, security hardening, and window-manager edge cases.

feh 2.0 was released in 2011 according to the project changelog, and the 3.x line is still active: the official archive lists feh 3.12.2 on 2026-05-07. Recent releases continue the same pattern, including fixes for Xwayland focus behavior, reproducible manual builds, filelist parsing, rendering bugs, and safer shell format specifiers for actions and info commands.

Adoption history

The official homepage notes packaging across multiple Unix and Unix-like systems, including Arch Linux, Debian, FreeBSD, OpenBSD, and Ubuntu. Homebrew, MacPorts, Nix, Fedora, openSUSE, Alpine, and other package collections also carry it in the supplied package-manager metadata, which matches feh's long role as a standard small image viewer for lightweight X11 environments.

How it is used

Common usage centers on fast image viewing from the shell, slideshows over directories, thumbnail and index generation, listing image metadata, opening URLs when libcurl support is enabled, and setting X11 backgrounds. The manual also documents custom shell actions, filelists, captions, EXIF display, configurable keys/buttons, and cache behavior.

Its wallpaper-setting mode is one reason package users keep it installed even when they use another image viewer interactively: window-manager and dotfile setups can call feh from startup scripts to set backgrounds without pulling in a desktop environment.

Why package nerds care

feh matters to package-manager culture because it is the classic small-tool answer to image viewing on X11: scriptable, dependency-light, easy to build, and comfortable in shell pipelines and window-manager configs.

It also illustrates a maintenance style package maintainers like: conservative release notes, clear compile-time feature flags, signed tarballs, a man page, and a project homepage that documents downstream packaging without turning the tool into a platform.

Timeline

  • 2010: Official archive shows active 1.x releases, including feh 1.3.5 and later 1.x versions.
  • 2011: feh 2.0 released.
  • 2019: feh 3.0 released.
  • 2026: feh 3.12.2 released on 2026-05-07.

Related projects

  • imlib2 is the image-loading/rendering library underlying feh's supported image formats.
  • ImageMagick can be used by feh for optional conversion of otherwise unsupported file types.
  • xwallpaper, hsetroot, and display from ImageMagick occupy adjacent shell-driven image and wallpaper workflows, but feh remains popular because it combines viewing, listing, slideshow, and wallpaper duties.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for feh. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 6 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
$XDG_CONFIG_HOME/feh/themes$XDG_CONFIG_HOME/feh/keys$XDG_CONFIG_HOME/feh/buttons~/.config/feh/themes~/.config/feh/keys~/.config/feh/buttons/etc/feh/themes/etc/feh/keys/etc/feh/buttons

executables

Installed executables

CommandKindExposureNote
fehcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version3.12.2
manager updated2026-05-07
local dataok
upstreamnot checked
latest detectednot detected

https://feh.finalrewind.org/

install metadata

Package metadata

Package keybrew:feh
Version3.12.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/feh
Homepagehttps://feh.finalrewind.org/
Repositoryhttps://git.finalrewind.org/feh
Upstream docshttps://feh.finalrewind.org/
LicenseMIT-feh
Source archivehttps://feh.finalrewind.org/feh-3.12.2.tar.bz2
Last updated2026-05-07T21:04:39Z
Pulseupdated
Dependenciesimlib2, libexif, libpng, libx11, libxinerama, libxt
Uses from macOScurl
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namefeh
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

feh 3.10.3-1

imlib2 based image viewer

https://feh.finalrewind.org/

sudo apt install feh
  • Section: graphics
  • Architecture: amd64
  • 8 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Feh
Debian stable package indexes · deb.debian.org · Debian stable package indexes: feh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

feh

nix profile install nixpkgs#feh
  • normalized package name match
  • Matched by: Feh
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fe/feh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

feh 3.10.1-1build3

imlib2 based image viewer

https://feh.finalrewind.org/

sudo apt install feh
  • Section: universe/graphics
  • Architecture: amd64
  • 8 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Feh
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: feh from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

feh 3.12.2-r0

Fast, lightweight image viewer which uses imlib2

https://feh.finalrewind.org

sudo apk add feh
  • License: MIT-feh
  • Architecture: x86_64
  • Source Package: feh
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Feh
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: feh from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

feh-doc 3.12.2-r0

Fast, lightweight image viewer which uses imlib2 (documentation)

https://feh.finalrewind.org

sudo apk add feh-doc
  • License: MIT-feh
  • Architecture: x86_64
  • Source Package: feh
  • normalized package name match
  • Matched by: Feh
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: feh-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

feh 3.12.2-2.fc45

Fast command line image viewer using Imlib2

https://feh.finalrewind.org

sudo dnf install feh
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: feh
  • 10 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Feh
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: feh from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

feh 3.12.2-1

Fast and light imlib2-based image viewer

https://feh.finalrewind.org/

sudo pacman -S feh
  • License: MIT
  • Architecture: x86_64
  • 13 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Feh
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: feh from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

feh 3.11.1-1.4

X11 image viewer

https://feh.finalrewind.org/

sudo zypper install feh
  • License: LGPL-2.0-or-later AND MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: feh
  • 12 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Feh
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: feh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

feh-zsh-completion 3.11.1-1.4

ZSH Completion for feh

https://feh.finalrewind.org/

sudo zypper install feh-zsh-completion
  • License: LGPL-2.0-or-later AND MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: feh
  • 1 provides
  • normalized package name match
  • Matched by: Feh
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: feh-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

feh

sudo port install feh
  • normalized package name match
  • Matched by: Feh
MacPorts ports tree · api.github.com · MacPorts ports tree: graphics/feh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment