macOS
brew install grofflocal Homebrew formula metadata
sudo port install groffMacPorts ports tree · sysutils/groff/Portfile · 来源: api.github.com
安装
brew install grofflocal Homebrew formula metadata
sudo port install groffMacPorts ports tree · sysutils/groff/Portfile · 来源: api.github.com
sudo apk add groffAlpine Linux edge package indexes · groff · 来源: dl-cdn.alpinelinux.org
sudo dnf install groffFedora Rawhide package metadata · groff · 来源: dl.fedoraproject.org
nix profile install nixpkgs#groffnixpkgs package indexes · pkgs/by-name/gr/groff/package.nix · 来源: api.github.com
sudo pacman -S groffArch Linux sync databases · groff · 来源: geo.mirror.pkgbuild.com
sudo zypper install groffopenSUSE Tumbleweed package metadata · groff · 来源: download.opensuse.org
概览
GNU troff text-formatting system
历史
GNU groff is the GNU implementation of the roff/troff document formatting system. It is one of the quiet infrastructure packages of Unix-like systems: a typesetting suite, a macro and preprocessor ecosystem, and the historical engine behind a large share of manual-page formatting.
groff belongs to the roff family that began with early Unix text formatting. The GNU manual places it in the line of roff, nroff, and troff: plain text mixed with formatting requests is processed into terminal, printer, PostScript, PDF, HTML, or DVI output. GNU describes groff as a reimplementation and extension of troff and related AT&T Unix programs.
The package was written primarily by James Clark as the GNU replacement for proprietary Unix troff/nroff tooling. GNU's own distribution archive records early public source releases in 1991 and later tarball history across the 1990s, while the project homepage identifies the Savannah Git repository as the development source.
Over time groff became much more than the `troff` formatter. The package includes preprocessors and helpers such as `eqn`, `tbl`, `pic`, `refer`, `soelim`, `grn`, `chem`, `grog`, and output drivers such as `grops`, `gropdf`, `grohtml`, `grodvi`, and `grotty`. Its macro packages let users write manual pages, memoranda, papers, books, and technical documents without adopting a WYSIWYG editor.
Maintenance also reflects a long-lived GNU package rather than a short utility. The GNU homepage lists G. Branden Robinson as maintainer and Bertrand Garrigues and Werner Lemberg as maintainers emeriti. GNU mailing-list announcements document continuing release work, including the 1.23.0 announcement after years of accumulated documentation, man-page, and code changes.
groff's adoption came from Unix documentation culture. GNU states that groff is widely available on POSIX and other systems because of its long association with Unix manuals, including man pages. On many Linux systems, `man` pipelines historically depended on groff or compatible roff tooling to render installed manual pages.
Distribution packaging made groff ordinary infrastructure: sometimes installed as part of a base system, sometimes split into runtime, documentation, debug, or full packages. The GNU homepage explicitly notes that many GNU/Linux distributions offer groff source and binary packages and may subdivide the installation.
The package also carried older document workflows forward. GNU notes that groff and its predecessor produced several best-selling software engineering texts, and the manual documents workflows that combine low-level requests, macro packages, preprocessors, and output drivers.
The usual CLI pattern is a pipeline hidden behind `groff`: preprocessors such as `tbl`, `eqn`, `pic`, or `refer` transform input, `troff` formats it, and a postprocessor targets a terminal, PostScript, PDF, HTML, DVI, or printer format. The `grog` helper can inspect a document and suggest the needed `groff` options.
For everyday package users, groff is most often noticed through `man`, `nroff`, and manual-page macros rather than as a book-production system. For document authors, it remains a programmable text formatting tool where source files are plain text and outputs are generated reproducibly.
Unlike many CLI tools in this batch, groff has no normal per-user credentials and no single project config file. Its behavior is driven by command-line options, macro files, font/devices data, and documents being formatted.
groff is package-nerd bedrock. It is a GNU package that exists because Unix documentation is source code too: plain text inputs, macros, preprocessors, build rules, and deterministic outputs. Removing or replacing it affects not one app but the documentation pipeline of an operating system.
It also explains why package manifests sometimes contain a surprising pile of tiny executables. `groff` is a suite with historical Unix tool boundaries preserved: separate commands for tables, equations, pictures, bibliographies, device conversion, and terminal output.
The package is especially relevant to Homebrew and Unix-like packaging because macOS and BSD systems have had different relationships with groff and mandoc over time. Installing GNU groff gives users the GNU roff toolchain even on platforms where the base system uses a smaller man-page-focused formatter.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
addftinfo | cli | 全局可执行文件 | |
afmtodit | cli | 全局可执行文件 | |
chem | cli | 全局可执行文件 | |
eqn | cli | 全局可执行文件 | |
eqn2graph | cli | 全局可执行文件 | |
gdiffmk | cli | 全局可执行文件 | |
glilypond | cli | 全局可执行文件 | |
gperl | cli | 全局可执行文件 | |
gpinyin | cli | 全局可执行文件 | |
grap2graph | cli | 全局可执行文件 | |
grn | cli | 全局可执行文件 | |
grodvi | cli | 全局可执行文件 | |
groff | cli | 全局可执行文件 | |
grog | cli | 全局可执行文件 | |
grolbp | cli | 全局可执行文件 | |
grolj4 | cli | 全局可执行文件 | |
gropdf | cli | 全局可执行文件 | |
grops | cli | 全局可执行文件 | |
grotty | cli | 全局可执行文件 | |
hpftodit | cli | 全局可执行文件 | |
indxbib | cli | 全局可执行文件 | |
lkbib | cli | 全局可执行文件 | |
lookbib | cli | 全局可执行文件 | |
mmroff | cli | 全局可执行文件 | |
neqn | cli | 全局可执行文件 | |
nroff | cli | 全局可执行文件 | |
pdfmom | cli | 全局可执行文件 | |
pfbtops | cli | 全局可执行文件 | |
pic | cli | 全局可执行文件 | |
pic2graph | cli | 全局可执行文件 | |
post-grohtml | cli | 全局可执行文件 | |
pre-grohtml | cli | 全局可执行文件 | |
preconv | cli | 全局可执行文件 | |
refer | cli | 全局可执行文件 | |
soelim | cli | 全局可执行文件 | |
tbl | cli | 全局可执行文件 | |
tfmtodit | cli | 全局可执行文件 | |
troff | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.gnu.org/software/groff/
安装元数据
| 软件包键 | brew:groff |
|---|---|
| 版本 | 1.24.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/groff |
| 主页 | https://www.gnu.org/software/groff/ |
| 仓库 | https://git.savannah.gnu.org/git/groff.git |
| 上游文档 | https://www.gnu.org/software/groff |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://ftpmirror.gnu.org/gnu/groff/groff-1.24.1.tar.gz |
| 依赖 | ghostscript, netpbm, psutils, uchardet |
| 构建依赖 | pkgconf, texinfo |
| macOS 提供的库 | perl |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | groff |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
groff 1.23.0-9
GNU troff text-formatting system
https://www.gnu.org/software/groff/
sudo apt install groffgroff-base 1.23.0-9
GNU troff text-formatting system (base system components)
https://www.gnu.org/software/groff/
sudo apt install groff-basegroff
nix profile install nixpkgs#groffgroff 1.23.0-3build2
GNU troff text-formatting system
https://www.gnu.org/software/groff/
sudo apt install groffgroff-base 1.23.0-3build2
GNU troff text-formatting system (base system components)
https://www.gnu.org/software/groff/
sudo apt install groff-basegroff 1.24.1-r0
GNU troff text-formatting system
https://www.gnu.org/software/groff/groff.html
sudo apk add groffgroff-doc 1.24.1-r0
GNU troff text-formatting system (documentation)
https://www.gnu.org/software/groff/groff.html
sudo apk add groff-docgroff 1.24.0-1.fc45
A document formatting system
http://www.gnu.org/software/groff/
sudo dnf install groffgroff-base 1.24.0-1.fc45
Parts of the groff formatting system required to display manual pages
http://www.gnu.org/software/groff/
sudo dnf install groff-basegroff-doc 1.24.0-1.fc45
Documentation for groff document formatting system
http://www.gnu.org/software/groff/
sudo dnf install groff-docgroff-perl 1.24.0-1.fc45
Parts of the groff formatting system that require Perl
http://www.gnu.org/software/groff/
sudo dnf install groff-perlgroff-x11 1.24.0-1.fc45
Parts of the groff formatting system that require X Windows System
http://www.gnu.org/software/groff/
sudo dnf install groff-x11groff 1.24.1-1
GNU troff text-formatting system
https://www.gnu.org/software/groff/groff.html
sudo pacman -S groffgroff 1.23.0-6.2
GNU troff Document Formatting System
http://www.gnu.org/software/groff/groff.html
sudo zypper install groffsoelim-common 1.23.0-6.2
Common package for soelim alternatives
http://www.gnu.org/software/groff/groff.html
sudo zypper install soelim-commongroff
sudo port install groff来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.