# Install djview4 with Homebrew, apt, dnf, Nix, MacPorts, pacman, winget

Viewer for the DjVu image format. Version 4.12.3 via Homebrew; verified 2026-06-22. Also installable with debian: sudo apt install djview4.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install djview4
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install djview
```

  Evidence: 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
```

  Evidence: 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
```

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

- Nix (92%):

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

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:djview4
- **Package manager:** Homebrew
- **Version:** 4.12.3
- **Source summary:** Viewer for the DjVu image format
- **Homepage:** <https://djvu.sourceforge.net/djview4.html>
- **Last updated:** 2026-06-22T14:03:10-07:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- djview (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 4.12.3
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Other Package-Manager Records

- 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-17.fc45: normalized package name match | Fedora Rawhide package metadata: djview4 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | DjVu viewer | http://djvu.sourceforge.net/djview4.html
- dnf - djview4-plugin - 4.12-17.fc45: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
