# feh を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

feh のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:feh
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install feh
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install feh
```

  証拠: MacPorts ports tree: graphics/feh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add feh
```

  証拠: Alpine Linux edge package indexes: feh from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install feh
```

  証拠: Debian stable package indexes: feh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install feh
```

  証拠: Fedora Rawhide package metadata: feh from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#feh
```

  証拠: nixpkgs package indexes: pkgs/by-name/fe/feh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S feh
```

  証拠: Arch Linux sync databases: feh from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install feh
```

  証拠: openSUSE Tumbleweed package metadata: feh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:feh
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/feh>
- **バージョン:** 3.12.2
- **ソース概要:** X11 image viewer
- **ホームページ:** <https://feh.finalrewind.org/>
- **上流ドキュメント:** <https://feh.finalrewind.org/>
- **ライセンス:** MIT-feh
- **ソースアーカイブ:** <https://feh.finalrewind.org/feh-3.12.2.tar.bz2>
- **最終更新:** 2026-05-07T21:04:39Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- feh (cli)
- feh (エイリアス)

## 依存関係

- imlib2
- libexif
- libpng
- libx11
- libxinerama
- libxt

## macOS 提供ライブラリ

- curl

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 3.12.2
- マネージャ更新日: 2026-05-07
- ローカルデータ: OK
- 上流リポジトリ: https://feh.finalrewind.org/
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://feh.finalrewind.org/>
- <https://man.finalrewind.org/1/feh>
- <https://feh.finalrewind.org/archive/>
- <https://raw.githubusercontent.com/derf/feh/master/ChangeLog>


## セキュリティノート

feh に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。



## 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

- 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
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** feh
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 他のパッケージマネージャ記録

- Debian apt - feh - 3.10.3-1: normalized package name match | Debian stable package indexes: feh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | imlib2 based image viewer | https://feh.finalrewind.org/
- Nix - feh: normalized package name match | nixpkgs package indexes: pkgs/by-name/fe/feh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - feh - 3.10.1-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: feh from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | imlib2 based image viewer | https://feh.finalrewind.org/
- apk - feh - 3.12.2-r0: normalized package name match | Alpine Linux edge package indexes: feh from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast, lightweight image viewer which uses imlib2 | https://feh.finalrewind.org
- apk - feh-doc - 3.12.2-r0: normalized package name match | Alpine Linux edge package indexes: feh-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast, lightweight image viewer which uses imlib2 (documentation) | https://feh.finalrewind.org
- dnf - feh - 3.12.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: feh from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Fast command line image viewer using Imlib2 | https://feh.finalrewind.org
- pacman - feh - 3.12.2-1: normalized package name match | Arch Linux sync databases: feh from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Fast and light imlib2-based image viewer | https://feh.finalrewind.org/
- zypper - feh - 3.11.1-1.6: normalized package name match | openSUSE Tumbleweed package metadata: feh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | X11 image viewer | https://feh.finalrewind.org/
- zypper - feh-zsh-completion - 3.11.1-1.6: normalized package name match | openSUSE Tumbleweed package metadata: feh-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | ZSH Completion for feh | https://feh.finalrewind.org/
- MacPorts - feh: normalized package name match | MacPorts ports tree: graphics/feh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/ja/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Homebrew utility packages](https://pkg.so/ja/brew-utility-packages/) - Matched Homebrew package provider.
- [libpng](https://pkg.so/ja/brew/libpng/) - Runtime dependency declared by Homebrew.
- [imlib2](https://pkg.so/ja/brew/imlib2/) - Runtime dependency declared by Homebrew.
- [plowshare](https://pkg.so/ja/brew/plowshare/) - Popular package that depends on this formula.
- [geeqie](https://pkg.so/ja/brew/geeqie/) - Shares pkgdb curated category or tags: cli, image-viewer, media.
- [catimg](https://pkg.so/ja/brew/catimg/) - Shares pkgdb curated category or tags: cli, image-viewer, media.
- [pqiv](https://pkg.so/ja/brew/pqiv/) - Shares pkgdb curated category or tags: cli, image-viewer, media.
- [xplanet](https://pkg.so/ja/brew/xplanet/) - Shares pkgdb curated category or tags: cli, media, wallpaper, x11.
- [fontconfig](https://pkg.so/ja/brew/fontconfig/) - Shares pkgdb curated category or tags: cli, media, x11.
- [viu](https://pkg.so/ja/brew/viu/) - Shares pkgdb curated category or tags: cli, image-viewer, media.
- [timg](https://pkg.so/ja/brew/timg/) - Shares pkgdb curated category or tags: cli, image-viewer, media.
- [xfig](https://pkg.so/ja/brew/xfig/) - Shares pkgdb curated category or tags: cli, media, x11.

## Combined YAML source

View the package source record on GitHub. [combined/feh.yml](https://github.com/mxcl/pkgdb/blob/main/combined/feh.yml)


## ソース

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