macOS
brew install libpaperlocal Homebrew formula metadata
sudo port install libpaperMacPorts ports tree · print/libpaper/Portfile · source: api.github.com
brew
Library for handling paper characteristics. Version 2.2.8 via Homebrew; verified 2026-05-16.
install
brew install libpaperlocal Homebrew formula metadata
sudo port install libpaperMacPorts ports tree · print/libpaper/Portfile · source: api.github.com
sudo apk add libpaperAlpine Linux edge package indexes · libpaper · source: dl-cdn.alpinelinux.org
sudo apt install libpaper-devDebian stable package indexes · libpaper-dev · source: deb.debian.org
sudo dnf install libpaperFedora Rawhide package metadata · libpaper · source: dl.fedoraproject.org
nix profile install nixpkgs#libpapernixpkgs package indexes · pkgs/by-name/li/libpaper/package.nix · source: api.github.com
sudo pacman -S libpaperArch Linux sync databases · libpaper · source: geo.mirror.pkgbuild.com
sudo zypper install libpaperopenSUSE Tumbleweed package metadata · libpaper · source: download.opensuse.org
overview
Library for handling paper characteristics
history
libpaper is a small Unix library and command-line toolkit for discovering and configuring preferred paper sizes, so document and printing tools can avoid hard-coded A4-versus-letter assumptions.
The original Debian libpaper design was proposed by Yves Arrouye in 1996 as a way for programs to use /etc/papersize at runtime, support a catalog of paper names, and avoid recompiling or rewriting package scripts when the system default changed.
Reuben Thomas's maintained libpaper package builds on that design. Its README says it enables users to indicate their preferred paper size, provides the paper utility, specifies system-wide and per-user paper-size catalogues, and keeps paperconf for compatibility with libpaper version 1.
libpaper became a distribution-level convention because many unrelated tools need the same answer: what paper size should this system or user prefer? Debian manpages document paperconf, while modern libpaper manpages document the newer paper command and XDG-aware user files.
Programs can call the library, shell scripts can call paper or paperconf, and users can set PAPERSIZE or write papersize files. The modern paper command checks PAPERSIZE, the user's XDG papersize file, locale paper defaults, /etc/papersize, and paper-size catalogues.
libpaper is a tiny package with an outsized packaging lesson: internationalization sometimes means centralizing one mundane default. It exists so PostScript, TeX, printing, and document tools can share policy without every package growing its own paper-size configuration machinery.
security posture
No matching local secret-handling manifest was found for libpaper. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
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.
$XDG_CONFIG_HOME/papersize$XDG_CONFIG_HOME/paperspecs@sysconfdir@/papersize@sysconfdir@/paperspecsexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
paper | cli | global executable | |
paperconf | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/rrthomas/libpaper
install metadata
| Package key | brew:libpaper |
|---|---|
| Version | 2.2.8 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libpaper |
| Homepage | https://github.com/rrthomas/libpaper |
| Repository | https://github.com/rrthomas/libpaper |
| Upstream docs | https://github.com/rrthomas/libpaper#readme |
| License | LGPL-2.1-or-later |
| Source archive | https://github.com/rrthomas/libpaper/releases/download/v2.2.8/libpaper-2.2.8.tar.gz |
| Last updated | 2026-05-16T18:44:37Z |
| Pulse | updated |
| Build dependencies | help2man |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libpaper |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libpaper-dev 2.2.5-0.3+b2
Paper sizes catalogue (development files)
https://github.com/rrthomas/libpaper
sudo apt install libpaper-devlibpaper-utils 2.2.5-0.3+b2
Paper sizes catalogue (utilities)
https://github.com/rrthomas/libpaper
sudo apt install libpaper-utilslibpaper2 2.2.5-0.3+b2
Paper sizes catalogue
https://github.com/rrthomas/libpaper
sudo apt install libpaper2libpaper
nix profile install nixpkgs#libpaperlibpaper-dev 1.1.29build1
library for handling paper characteristics (development files)
sudo apt install libpaper-devlibpaper-utils 1.1.29build1
library for handling paper characteristics (utilities)
sudo apt install libpaper-utilslibpaper1 1.1.29build1
library for handling paper characteristics
sudo apt install libpaper1libpaper 2.2.6-r0
Library for handling paper characteristics
https://github.com/rrthomas/libpaper/
sudo apk add libpaperlibpaper-dev 2.2.6-r0
Library for handling paper characteristics (development files)
https://github.com/rrthomas/libpaper/
sudo apk add libpaper-devlibpaper-doc 2.2.6-r0
Library for handling paper characteristics (documentation)
https://github.com/rrthomas/libpaper/
sudo apk add libpaper-doclibpaper 2.1.1-10.fc44
Library and tools for handling papersize
https://github.com/rrthomas/libpaper/
sudo dnf install libpaperlibpaper-devel 2.1.1-10.fc44
Headers/Libraries for developing programs that use libpaper
https://github.com/rrthomas/libpaper/
sudo dnf install libpaper-develpaper 2.1.1-10.fc44
Print paper size information
https://github.com/rrthomas/libpaper/
sudo dnf install paperlibpaper 2.2.8-1
Library for handling paper characteristics
https://github.com/rrthomas/libpaper
sudo pacman -S libpaperlibpaper 2.2.8-1.1
Enables users to indicate their preferred paper size
https://github.com/rrthomas/libpaper
sudo zypper install libpaperlibpaper-devel 2.2.8-1.1
This package contains the development files needed by libpaper
https://github.com/rrthomas/libpaper
sudo zypper install libpaper-develsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.