# 使用 Homebrew, apt, dnf, Nix, MacPorts, pacman, winget 安装 djview4

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

## 安装

```sh
sudo av install brew:djview4
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install djview4
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install djview
```

  证据: MacPorts ports tree: aqua/djview/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install djview4
```

  证据: Debian stable package indexes: djview4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install djview4
```

  证据: Fedora Rawhide package metadata: djview4 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#djview4
```

  证据: nixpkgs package indexes: djview4 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S djview
```

  证据: Arch Linux sync databases: djview from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- winget (92%):

```sh
winget install --id DjVuLibre.DjView -e
```

  证据: Windows Package Manager source index: DjVuLibre.DjView from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:djview4
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/djview4>
- **版本:** 4.12.3
- **来源摘要:** Viewer for the DjVu image format
- **主页:** <https://djvu.sourceforge.net/djview4.html>
- **仓库:** <https://sourceforge.net/p/djvu/djview-git/ci/master/tree>
- **上游文档:** <https://djvu.sourceforge.net/djview4.html>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://downloads.sourceforge.net/project/djvu/DjView/4.12/djview-4.12.3.tar.gz>
- **最后更新:** 2026-06-22T14:03:10-07:00
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- djview (cli)
- djview (别名)

## 依赖

- djvulibre
- libtiff
- qt5compat
- qtbase

## 构建依赖

- autoconf
- automake
- librsvg
- libtool
- pkgconf
- qttools

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 4.12.3
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://djvu.sourceforge.net/djview4.html
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

DjView4 is the portable Qt4 DjVu viewer and browser-plugin component associated with DjVuLibre. It opens DjVu documents as a desktop viewer while supporting document navigation, zooming, thumbnails, outlines, hidden-text search, printing, and command-line URL/options handling.

### 项目历史

The DjVuLibre site says DjVu began at AT&T Labs-Research in 1996 and that DjVuLibre came from a cleaned-up GPL code base after LizardTech acquired the technology and released reference-library code. DjView4 appears in that lineage as a newer portable viewer distributed separately from the main DjVuLibre package.

The official DjView4 page describes it as a new portable DjVu viewer and browser plugin, entirely based on the public DjVuLibre API and written in portable Qt4 for Qt/X11, Qt/Mac, and Qt/Windows. The page lists version 4.12 with a 2020-11-20 release date.

### 采用历史

DjVuLibre's site presents DjVu as a web-centric document and image distribution format used by academic, commercial, governmental, and non-commercial sites, and describes DjVuLibre as the GPL implementation containing viewers, plugins, decoders, encoders, and utilities. DjView4's adoption follows that document-viewing niche: it is useful when archives, scanned books, or older web collections are distributed as DjVu rather than PDF.

Package-manager adoption persists because DjView4 is the practical desktop viewer for a legacy but still-present document format. The official DjView4 page points to binary packaging through Fedora/Redhat, openSUSE, Debian, Ubuntu, Windows SourceForge downloads, and Mac OS SourceForge downloads.

### 使用方式

Users run `djview4 file.djvu` or open local and remote DjVu URLs. The official man page notes standalone viewing, browser-plugin slave-process behavior, command-line options, multi-page display, hidden-text search, thumbnail display, bundled or indirect multi-page saving, and export or print workflows.

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

DjView4 is package-nerd significant as a survivor from the era when browser plugins, scanned-document compression, and Unix desktop viewers overlapped. It keeps DjVu readable from modern package managers even as the format is no longer mainstream, and it separates the viewer from the broader DjVuLibre encoder/utility suite.

### 时间线

- 1996: DjVu project started at AT&T Labs-Research.
- 1999: AT&T released version 2.0 of the DjVu Reference Library under an open source license.
- 2000: LizardTech acquired DjVu technology from AT&T and released reference-library code under the GPL.
- 2001-10-11: Official djview4 man page carries an update date in the DjVuLibre documentation.
- 2020-11-20: DjView4 4.12 released, as listed by the official DjView4 page.

### Related projects

- Related tools include DjVuLibre's command-line utilities such as ddjvu, djvused, djvutxt, and djvudump; JavaDjVu for Java viewing; GSDjVu for Ghostscript-based conversion; and PDF viewers and converters used in adjacent scanned-document workflows.

### 来源

- <https://djvu.sourceforge.net/djview4.html>
- <https://djvu.sourceforge.net/index.html>
- <https://djvu.sourceforge.net/credits.html>
- <https://djvu.sourceforge.net/doc/index.html>
- <https://djvu.sourceforge.net/doc/man/djview4.html>
- <https://sourceforge.net/p/djvu/djview-git/ci/master/tree>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** djview4
- **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 - djview4 - 4.12-3+b3: normalized package name match | Debian stable package indexes: djview4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Viewer for the DjVu image format | http://djvu.sourceforge.net/
- Nix - djview4: normalized package name match | nixpkgs package indexes: djview4 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - djview4 - 4.12-3build3: normalized package name match | Ubuntu 24.04 LTS package indexes: djview4 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Viewer for the DjVu image format | http://djvu.sourceforge.net/
- dnf - djview4 - 4.12-16.fc44: normalized package name match | Fedora Rawhide package metadata: djview4 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | DjVu viewer | http://djvu.sourceforge.net/djview4.html
- dnf - djview4-plugin - 4.12-16.fc44: normalized package name match | Fedora Rawhide package metadata: djview4-plugin from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Browser plugin for DjVu viewer | http://djvu.sourceforge.net/djview4.html
- MacPorts - djview: installed executable or alias match | MacPorts ports tree: aqua/djview/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - djview - 3.5.28-2.2: installed executable or alias match | Debian stable package indexes: djview from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Transition package, djview3 to djview4 | http://djvu.sourceforge.net/
- Nix - djview: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/dj/djview/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - djview - 3.5.28-2build4: installed executable or alias match | Ubuntu 24.04 LTS package indexes: djview from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Transition package, djview3 to djview4 | http://djvu.sourceforge.net/
- pacman - djview - 4.12.3-1: installed executable or alias match | Arch Linux sync databases: djview from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Viewer for DjVu documents | http://djvu.sourceforge.net/djview4.html
- winget - DjVuLibre.DjView: installed executable or alias match | Windows Package Manager source index: DjVuLibre.DjView from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [djvulibre](https://www.automicvault.com/zh-hans/pkg/brew/djvulibre/) - Runtime dependency declared by Homebrew.
- [libtiff](https://www.automicvault.com/zh-hans/pkg/brew/libtiff/) - Runtime dependency declared by Homebrew.
- [qtbase](https://www.automicvault.com/zh-hans/pkg/brew/qtbase/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/zh-hans/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/zh-hans/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [librsvg](https://www.automicvault.com/zh-hans/pkg/brew/librsvg/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/zh-hans/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [djvu2pdf](https://www.automicvault.com/zh-hans/pkg/brew/djvu2pdf/) - Shares av.db curated category or tags: cli, djvu, documents, media.
- [qjackctl](https://www.automicvault.com/zh-hans/pkg/brew/qjackctl/) - Shares av.db curated category or tags: cli, gui, media, qt.
- [dspdfviewer](https://www.automicvault.com/zh-hans/pkg/brew/dspdfviewer/) - Shares av.db curated category or tags: cli, media, qt.
- [lutgen](https://www.automicvault.com/zh-hans/pkg/brew/lutgen/) - Shares av.db curated category or tags: cli, gui, media.
- [minidjvu](https://www.automicvault.com/zh-hans/pkg/brew/minidjvu/) - Shares av.db curated category or tags: cli, djvu, media.
- [nip4](https://www.automicvault.com/zh-hans/pkg/brew/nip4/) - Shares av.db curated category or tags: cli, gui, media.
- [qmmp](https://www.automicvault.com/zh-hans/pkg/brew/qmmp/) - Shares av.db curated category or tags: cli, media, qt.
- [aview](https://www.automicvault.com/zh-hans/pkg/brew/aview/) - Both packages work with overlapping file formats or content types. Shared terms: browser, cli, image, media, viewer.

## Combined YAML source

View the package source record on GitHub. [combined/djview4.yml](https://github.com/automic-vault/db/blob/main/combined/djview4.yml)


## 来源

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