macOS
brew install xpdflocal Homebrew formula metadata
sudo port install xpdfMacPorts ports tree · graphics/xpdf/Portfile · 来源: api.github.com
安装
brew install xpdflocal Homebrew formula metadata
sudo port install xpdfMacPorts ports tree · graphics/xpdf/Portfile · 来源: api.github.com
sudo apk add xpdfAlpine Linux edge package indexes · xpdf · 来源: dl-cdn.alpinelinux.org
sudo dnf install xpdfFedora Rawhide package metadata · xpdf · 来源: dl.fedoraproject.org
nix profile install nixpkgs#xpdfnixpkgs package indexes · xpdf · 来源: raw.githubusercontent.com
sudo pacman -S xpdfArch Linux sync databases · xpdf · 来源: geo.mirror.pkgbuild.com
概览
PDF viewer
历史
Xpdf is a long-running PDF viewer and command-line toolkit from Glyph & Cog, developed by Derek Noonburg. The official site describes it as a PDF viewer plus tools for text extraction, PostScript conversion, image conversion, HTML conversion, metadata extraction, font listing, attachment extraction, and raw image extraction.
Its package-nerd importance comes from being both an end-user viewer and one of the ancestral codebases for Unix PDF tooling, including the Poppler fork that many modern desktop applications and distributions use.
The official Xpdf about page says Xpdf was first released in 1995, written by Derek Noonburg, and still developed by him. Early Xpdf was closely associated with Unix and the X Window System; modern Xpdf uses Qt and ships cross-platform tools for Linux, Windows, and Mac.
Xpdf's code became a base for a broader ecosystem. Poppler's README states that Poppler is a fork of the Xpdf PDF viewer developed by Derek Noonburg of Glyph & Cog, created to provide shared PDF rendering functionality and centralize maintenance effort for applications that had embedded Xpdf-derived code.
The project later separated branding between the open source xpdf package and XpdfReader. The official site describes XpdfReader as a closed-source viewer build with extra features, while the xpdf package remains the open source viewer and tool collection.
Xpdf became a fixture on Unix-like systems because it was small, scriptable, and useful before PDF support was built into every desktop environment. The command-line tools made it valuable even for users who never launched the GUI viewer: pdftotext, pdfinfo, pdffonts, pdfimages, pdftops, pdftoppm, and pdftopng fit naturally into shell pipelines.
Poppler's creation shows the scale of downstream adoption. Its README says many applications incorporated the Xpdf code base and that duplicated security and maintenance work motivated a shared library fork using modern Unix desktop components such as fontconfig and cairo.
Today Xpdf remains relevant as a compact upstream toolkit and as a historical root of PDF handling in free desktops. Some distributions package Xpdf-derived viewers differently from Poppler utilities, but the conceptual split between viewer, rendering engine, and CLI PDF tools is part of Xpdf's legacy.
Typical package usage is split between viewing and conversion. Users launch xpdf to read a document, or use command-line tools to extract text, inspect metadata and fonts, convert pages to images, convert PDFs to PostScript or HTML, and extract embedded images or attachments.
The configuration file xpdfrc controls viewer and tool behavior, including font paths, language support, and related settings. That makes Xpdf useful in both interactive desktop setups and controlled batch environments where predictable PDF extraction matters.
Because PDFs are untrusted document inputs, Xpdf and its descendants also matter to security maintenance. Poppler explicitly calls out PDF rendering as sensitive to security bugs, and the shared-library fork was partly a response to the maintenance burden of many applications carrying Xpdf-derived code.
Xpdf is one of the classic examples of a small Unix GUI application whose command-line utilities became just as important as the viewer. Packaging it gives users a PDF reader, but it also gives scripts a set of focused PDF inspection and conversion commands.
Its relationship with Poppler is historically important for package maintainers: one upstream codebase became both a standalone viewer/toolkit and the origin point for a shared rendering library used by many other applications. That fork explains why similar PDF tools and libraries often appear side by side in package collections.
Xpdf also sits at the intersection of old X11 desktop software and modern cross-platform Qt software, making it a useful marker of how long-lived Unix tools survive by keeping a stable command-line surface while changing GUI/toolkit internals.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/.xpdfrc/etc/xpdfrcxpdfrc in the same directory as the executable可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
pdftopng | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
xpdf | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:xpdf |
|---|---|
| 版本 | 4.06 |
| 软件包管理器 | Homebrew |
| 主页 | https://www.xpdfreader.com/ |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
xpdf 3.04+git20250304-1+b1
Motif-based PDF reader using the Poppler library
https://offog.org/code/xpopple/
sudo apt install xpdfxpdf
nix profile install nixpkgs#xpdfxpdf 3.04+git20240202-1build3
Motif-based PDF reader using the Poppler library
https://offog.org/code/xpopple/
sudo apt install xpdfxpdf 4.06-r0
The classic X11 PDF viewer
sudo apk add xpdfxpdf-doc 4.06-r0
The classic X11 PDF viewer (documentation)
sudo apk add xpdf-docxpdf 4.06-3.fc45
A PDF file viewer for the X Window System
sudo dnf install xpdfxpdf-devel 4.06-3.fc45
Development files for xpdf libraries
sudo dnf install xpdf-develxpdf-libs 4.06-3.fc45
Libraries from xpdf
sudo dnf install xpdf-libsxpdf 4.06-2
Viewer for Portable Document Format (PDF) files
sudo pacman -S xpdfxpdf
sudo port install xpdf来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.