Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 feh

查看 feh 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install feh

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install feh

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add feh

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

Debian apt已验证 · 92%
sudo apt install feh

Debian stable package indexes · feh · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install feh

Fedora Rawhide package metadata · feh · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#feh

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

Arch Linux pacman已验证 · 92%
sudo pacman -S feh

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

openSUSE zypper已验证 · 92%
sudo zypper install feh

openSUSE Tumbleweed package metadata · feh · 来源: download.opensuse.org

概览

软件包摘要

X11 image viewer

命令和别名

  • feh

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

尚未找到受保护工具覆盖

没有找到 feh 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 6 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
fehcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本3.12.2
管理器更新时间2026-05-07
本地数据OK
上游not checked
检测到的最新版本未检测到

https://feh.finalrewind.org/

安装元数据

软件包元数据

软件包键brew:feh
版本3.12.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/feh
主页https://feh.finalrewind.org/
仓库https://git.finalrewind.org/feh
上游文档https://feh.finalrewind.org/
许可证MIT-feh
源码归档https://feh.finalrewind.org/feh-3.12.2.tar.bz2
最后更新2026-05-07T21:04:39Z
Pulseupdated
依赖imlib2, libexif, libpng, libx11, libxinerama, libxt
macOS 提供的库curl
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

feh 3.10.3-1

imlib2 based image viewer

https://feh.finalrewind.org/

sudo apt install feh
  • Section: graphics
  • Architecture: amd64
  • 8 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式: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 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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