Automic VaultAutomic Vault

brew

Install libpaper with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Library for handling paper characteristics. Version 2.2.8 via Homebrew; verified 2026-05-16.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libpaper

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install libpaper

MacPorts ports tree · print/libpaper/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add libpaper

Alpine Linux edge package indexes · libpaper · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libpaper-dev

Debian stable package indexes · libpaper-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install libpaper

Fedora Rawhide package metadata · libpaper · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#libpaper

nixpkgs package indexes · pkgs/by-name/li/libpaper/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S libpaper

Arch Linux sync databases · libpaper · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libpaper

openSUSE Tumbleweed package metadata · libpaper · source: download.opensuse.org

overview

Package summary

Library for handling paper characteristics

Commands and aliases

  • paper
  • paperconf

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 1996: Yves Arrouye proposed using a libpaper library and /etc/papersize for runtime paper-size defaults in Debian.
  • 2001: The Debian paperconf manpage documented PAPERSIZE, PAPERCONF, and /etc/papersize behavior.
  • 2013: Reuben Thomas's libpaper line started its copyright period and superseded his earlier paper package.
  • 2024: paper 2.2.5 manpages documented XDG_CONFIG_HOME/papersize and locale fallback behavior.

Related projects

  • paper is the newer command-line interface for querying paper sizes.
  • paperconf is the compatibility command from libpaper version 1.
  • psutils and other document-processing tools are natural consumers of libpaper because they need named paper sizes.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
$XDG_CONFIG_HOME/papersize$XDG_CONFIG_HOME/paperspecs@sysconfdir@/papersize@sysconfdir@/paperspecs

executables

Installed executables

CommandKindExposureNote
papercliglobal executable
paperconfcliglobal executable

freshness

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

page generated2026-07-08
manager version2.2.8
manager updated2026-05-16
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/rrthomas/libpaper

install metadata

Package metadata

Package keybrew:libpaper
Version2.2.8
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libpaper
Homepagehttps://github.com/rrthomas/libpaper
Repositoryhttps://github.com/rrthomas/libpaper
Upstream docshttps://github.com/rrthomas/libpaper#readme
LicenseLGPL-2.1-or-later
Source archivehttps://github.com/rrthomas/libpaper/releases/download/v2.2.8/libpaper-2.2.8.tar.gz
Last updated2026-05-16T18:44:37Z
Pulseupdated
Build dependencieshelp2man
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibpaper
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libpaper-dev 2.2.5-0.3+b2

Paper sizes catalogue (development files)

https://github.com/rrthomas/libpaper

sudo apt install libpaper-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libpaper
  • 1 dependencies
  • normalized package name match
  • Matched by: Libpaper
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpaper-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libpaper-utils 2.2.5-0.3+b2

Paper sizes catalogue (utilities)

https://github.com/rrthomas/libpaper

sudo apt install libpaper-utils
  • Section: utils
  • Architecture: amd64
  • Source Package: libpaper
  • 3 dependencies
  • normalized package name match
  • Matched by: Libpaper
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpaper-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libpaper2 2.2.5-0.3+b2

Paper sizes catalogue

https://github.com/rrthomas/libpaper

sudo apt install libpaper2
  • Section: libs
  • Architecture: amd64
  • Source Package: libpaper
  • 3 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Libpaper
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpaper2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libpaper

nix profile install nixpkgs#libpaper
  • normalized package name match
  • Matched by: Libpaper
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libpaper/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libpaper-dev 1.1.29build1

library for handling paper characteristics (development files)

sudo apt install libpaper-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libpaper
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libpaper
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpaper-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libpaper-utils 1.1.29build1

library for handling paper characteristics (utilities)

sudo apt install libpaper-utils
  • Section: utils
  • Architecture: amd64
  • Source Package: libpaper
  • 2 dependencies
  • normalized package name match
  • Matched by: Libpaper
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpaper-utils from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libpaper1 1.1.29build1

library for handling paper characteristics

sudo apt install libpaper1
  • Section: libs
  • Architecture: amd64
  • Source Package: libpaper
  • 5 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Libpaper
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpaper1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

libpaper 2.2.6-r0

Library for handling paper characteristics

https://github.com/rrthomas/libpaper/

sudo apk add libpaper
  • License: LGPL-2.1-or-later OR MIT
  • Architecture: x86_64
  • Source Package: libpaper
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libpaper
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libpaper from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libpaper-dev 2.2.6-r0

Library for handling paper characteristics (development files)

https://github.com/rrthomas/libpaper/

sudo apk add libpaper-dev
  • License: LGPL-2.1-or-later OR MIT
  • Architecture: x86_64
  • Source Package: libpaper
  • 1 dependencies
  • normalized package name match
  • Matched by: Libpaper
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libpaper-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libpaper-doc 2.2.6-r0

Library for handling paper characteristics (documentation)

https://github.com/rrthomas/libpaper/

sudo apk add libpaper-doc
  • License: LGPL-2.1-or-later OR MIT
  • Architecture: x86_64
  • Source Package: libpaper
  • normalized package name match
  • Matched by: Libpaper
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libpaper-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

libpaper 2.1.1-10.fc44

Library and tools for handling papersize

https://github.com/rrthomas/libpaper/

sudo dnf install libpaper
  • License: LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND GPL-3.0-or-later AND LGPL-2.0-or-later AND FSFAP
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libpaper
  • 2 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: Libpaper
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libpaper from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libpaper-devel 2.1.1-10.fc44

Headers/Libraries for developing programs that use libpaper

https://github.com/rrthomas/libpaper/

sudo dnf install libpaper-devel
  • License: LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND GPL-3.0-or-later AND LGPL-2.0-or-later AND FSFAP
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libpaper
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libpaper
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libpaper-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

paper 2.1.1-10.fc44

Print paper size information

https://github.com/rrthomas/libpaper/

sudo dnf install paper
  • License: GPL-3.0-or-later AND FSFAP AND GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libpaper
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libpaper
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: paper from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

libpaper 2.2.8-1

Library for handling paper characteristics

https://github.com/rrthomas/libpaper

sudo pacman -S libpaper
  • License: LGPL-2.1-or-later AND LicenseRef-Public-Domain AND GPL-3.0-or-later AND LGPL-2.0-or-later AND FSFAP AND MIT
  • Architecture: x86_64
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libpaper
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: libpaper from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libpaper 2.2.8-1.1

Enables users to indicate their preferred paper size

https://github.com/rrthomas/libpaper

sudo zypper install libpaper
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libpaper
  • 3 provides
  • normalized package name match
  • Matched by: Libpaper
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libpaper from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libpaper-devel 2.2.8-1.1

This package contains the development files needed by libpaper

https://github.com/rrthomas/libpaper

sudo zypper install libpaper-devel
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libpaper
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libpaper
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libpaper-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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