#1054183 RFP: pdfbox -- PDF utilities (based on Apache PDFBox)

Package:
wnpp
Source:
wnpp
Submitter:
Stephen Eisenhauer
Date:
2026-03-01 22:55:02 UTC
Severity:
normal
#1054183#5
Date:
2023-10-18 19:23:52 UTC
From:
To:
* Package name    : pdfbox
  Version         : 3.0.0
  Upstream Contact: PDFBox Users Mailing List <users@pdfbox.apache.org>
* URL             : https://pdfbox.apache.org/
* License         : Apache License 2.0
  Programming Lang: Java
  Description     : PDF utilities (based on Apache PDFBox)

The Apache PDFBox® library is an open source Java tool for working with PDF
documents. This project allows creation of new PDF documents, manipulation of
existing documents and the ability to extract content from documents.

This package would provide the PDFBox command-line utility
(https://pdfbox.apache.org/3.0/commandline.html), including a
desktop launcher for the 'debug' subcommand which invokes the
graphical PDF Debugger application.

Debian already packages the PDFBox library (as libpdfbox-java
and libpdfbox2-java), but does not yet package these utilities
or the included PDF Debugger. This project shares similarities
with Poppler, but contains some valuable features which Poppler
alone does not.

#1054183#12
Date:
2026-03-01 22:52:29 UTC
From:
To:
Stephen Eisenhauer <bhs2007@gmail.com> wrote:
I just filed https://bugs.debian.org/1129390 because, although it's very hard to tell, the libpdfbox2-java package does indeed ship the utilities but not in a proper way that's intuitive for a user. For a quick-and-dirty trick to use the utilities in PDFBox 2 right now on Debian, you can invoke it like this:

$ CLASSPATH="/usr/share/java/pdfbox2-tools.jar:/usr/share/java/pdfbox2.jar" java org.apache.pdfbox.tools.PDFBox
PDFBox version: "2.0.29"
Usage: java -jar pdfbox-app-x.y.z.jar <command> <args..>

Possible commands are:
  Decrypt
  Encrypt
  ExtractText
  ExtractXMP
  ExtractImages
  OverlayPDF
  PrintPDF
  PDFMerger
  PDFReader
  PDFSplit
  PDFToImage
  TextToPDF
  WriteDecodedDoc

The FDF and XFDF-related commands are omitted there, probably due to a mistake, but if you want those you can do this instead:
$ CLASSPATH="/usr/share/java/pdfbox2-tools.jar:/usr/share/java/pdfbox2.jar:/usr/share/java/commons-logging-api.jar" java org.apache.pdfbox.tools.ImportFDF
usage: org.apache.pdfbox.tools.ImportFDF <pdf-file> <fdf-file> <output-file>

That said, PDFBox 3 is not yet in Debian and work still needs to be done there. Precedent has been to introduce new source packages for major versions here.