# Install libgxps with Homebrew, dnf, Nix, pacman, apt, zypper

GObject based library for handling and rendering XPS documents. Version 0.3.2 via Homebrew; verified from local package data. Also installable with debian: sudo apt install gir1.2-gxps-0.1.

## Install

```sh
sudo av install brew:libgxps
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libgxps
```

  Evidence: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install libgxps
```

  Evidence: Fedora Rawhide package metadata: libgxps 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#libgxps
```

  Evidence: nixpkgs package indexes: pkgs/by-name/li/libgxps/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S libgxps
```

  Evidence: Arch Linux sync databases: libgxps from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install gir1.2-gxps-0.1
```

  Evidence: Debian stable package indexes: gir1.2-gxps-0.1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install libgxps-devel
```

  Evidence: openSUSE Tumbleweed package metadata: libgxps-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:libgxps
- **Package manager:** Homebrew
- **Version:** 0.3.2
- **Source summary:** GObject based library for handling and rendering XPS documents
- **Homepage:** <https://wiki.gnome.org/Projects/libgxps>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- xpstojpeg (alias)
- xpstopdf (alias)
- xpstopng (alias)
- xpstops (alias)
- xpstosvg (alias)

## Install behavior

- Bottle: not available

## Freshness

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

libgxps is a GNOME C library and toolset for reading, rendering, and converting XPS and OpenXPS documents. It fills a practical desktop gap: support for Microsoft's XML Paper Specification in GTK/GNOME document workflows without treating XPS as a first-class platform format.

### Project history

The GNOME wiki describes libgxps as a GObject-based library for handling and rendering XPS documents, built on GLib, GObject, GIO, cairo, libarchive, and FreeType, with optional image and color-management libraries. The same page frames XPS/OpenXPS as an XML-based electronic-paper format originally developed by Microsoft and later standardized as an open document format.

The NEWS file records libgxps 0.1.0 on October 12, 2011 as the first public release. Version 0.2.0 followed on November 19, 2011 with API changes and documentation work, while version 0.3.0 on August 8, 2017 added OpenXPS fixed-representation schema support and switched the build system to Meson.

### Adoption history

libgxps was adopted as a distribution library because document viewers and converters need occasional XPS support even on systems where XPS is not a native document culture. The GNOME wiki listed Evince as a project using libgxps and linked to packages for Arch, Debian, Fedora, and Ubuntu; the batch input also shows Homebrew, Nix, pacman, and openSUSE package coverage.

### How it is used

The library is used by applications that need to inspect or render XPS documents. Its command-line tools, including xpstopdf, xpstopng, xpstojpeg, xpstops, and xpstosvg, make it useful in scripts that convert XPS files into more common Unix document and image formats.

### Why package nerds care

libgxps is a format-bridge package: small enough to be invisible most days, but important when a user receives an XPS file and expects the desktop stack to do something sensible. It also shows the GNOME pattern of wrapping document parsing, cairo rendering, and conversion utilities around a specific file format.

### Timeline

- 2011-10-12: libgxps 0.1.0 was the first public release.
- 2011-11-19: libgxps 0.2.0 added API and documentation changes.
- 2017-08-08: libgxps 0.3.0 added OpenXPS fixed-representation schema support and switched to Meson.
- 2021-02-16: libgxps 0.3.2 added Windows WIC support for WDP images and conversion crash fixes.

### Related projects

- Evince is listed by GNOME as a project using libgxps.
- cairo, libarchive, FreeType, GLib, GObject, and GIO are core dependencies named by the GNOME wiki.
- XPS and OpenXPS are the document formats handled by libgxps.

### Sources

- <https://formulae.brew.sh/formula/libgxps>
- <https://gitlab.gnome.org/GNOME/libgxps>
- <https://gitlab.gnome.org/GNOME/libgxps/-/raw/master/NEWS>
- <https://gitlab.gnome.org/GNOME/libgxps/-/raw/master/README>
- <https://wiki.gnome.org/Projects/libgxps>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Other Package-Manager Records

- Debian apt - gir1.2-gxps-0.1 - 0.3.2-4+b2: normalized package name match | Debian stable package indexes: gir1.2-gxps-0.1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GObject introspection data for the gxps library | https://wiki.gnome.org/libgxps
- Debian apt - libgxps-dev - 0.3.2-4+b2: normalized package name match | Debian stable package indexes: libgxps-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | handling and rendering XPS documents (development files) | https://wiki.gnome.org/libgxps
- Debian apt - libgxps-doc - 0.3.2-4: normalized package name match | Debian stable package indexes: libgxps-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for handling and rendering XPS documents (documentation) | https://wiki.gnome.org/libgxps
- Debian apt - libgxps-utils - 0.3.2-4+b2: normalized package name match | Debian stable package indexes: libgxps-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | handling and rendering XPS documents (utilities) | https://wiki.gnome.org/libgxps
- Debian apt - libgxps2t64 - 0.3.2-4+b2: normalized package name match | Debian stable package indexes: libgxps2t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | handling and rendering XPS documents (library) | https://wiki.gnome.org/libgxps
- Nix - libgxps: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libgxps/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gir1.2-gxps-0.1 - 0.3.2-4build3: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-gxps-0.1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GObject introspection data for the gxps library | https://wiki.gnome.org/libgxps
- Ubuntu apt - libgxps-dev - 0.3.2-4build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgxps-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | handling and rendering XPS documents (development files) | https://wiki.gnome.org/libgxps
- Ubuntu apt - libgxps-doc - 0.3.2-4build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgxps-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library for handling and rendering XPS documents (documentation) | https://wiki.gnome.org/libgxps
- Ubuntu apt - libgxps-utils - 0.3.2-4build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgxps-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | handling and rendering XPS documents (utilities) | https://wiki.gnome.org/libgxps
- Ubuntu apt - libgxps2t64 - 0.3.2-4build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgxps2t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | handling and rendering XPS documents (library) | https://wiki.gnome.org/libgxps
- dnf - libgxps - 0.3.2-13.fc45: normalized package name match | Fedora Rawhide package metadata: libgxps from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | GObject based library for handling and rendering XPS documents | https://wiki.gnome.org/Projects/libgxps
- dnf - libgxps-devel - 0.3.2-13.fc45: normalized package name match | Fedora Rawhide package metadata: libgxps-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for libgxps | https://wiki.gnome.org/Projects/libgxps
- dnf - libgxps-tools - 0.3.2-13.fc45: normalized package name match | Fedora Rawhide package metadata: libgxps-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Command-line utility programs for manipulating XPS files | https://wiki.gnome.org/Projects/libgxps
- pacman - libgxps - 0.3.2-5: normalized package name match | Arch Linux sync databases: libgxps from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | XPS Documents library | https://wiki.gnome.org/Projects/libgxps
- zypper - libgxps-devel - 0.3.2+5-1.10: normalized package name match | openSUSE Tumbleweed package metadata: libgxps-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for libgxps, a XPS document render library | https://wiki.gnome.org/Projects/libgxps


## Combined YAML source

View the package source record on GitHub. [combined/libgxps.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libgxps.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
