qpdf

How To Install Qpdf On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

How To Install Qpdf On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

qpdf

Versatile PDF transformation software.

Maintainer: Jay Berkenbilt



Section: text

Install qpdf

  • Debian apt-get install qpdf Click to copy
  • Ubuntu apt-get install qpdf Click to copy
  • Alpine OS apk add qpdf Click to copy
  • Arch Linux pacman -S qpdf Click to copy
  • Kali Linux apt-get install qpdf Click to copy
  • CentOS yum install qpdf Click to copy
  • Fedora dnf install qpdf Click to copy
  • Raspbian apt-get install qpdf Click to copy
  • macOS brew install qpdf Click to copy

Versatile PDF transformation software.

How to use qpdf?

Below are few example commands for qpdf that you can use in the terminal.

Extract pages 1-3, 5 and 6-10 from a PDF file and save them as another one:
qpdf --empty --pages input.pdf 1-3,5,6-10 -- output.pdfClick to copy
Merge (concatenate) a list of PDF files and save the result as another one:
qpdf --empty --pages file1.pdf 1,6-8 --pages file2.pdf 3,4,5 -- output.pdfClick to copy
Write each group of n pages to a separate output file with a given filename pattern:
qpdf --split-pages=n input.pdf out_%d.pdfClick to copy
Rotate certain pages of a pdf with a given angle:
qpdf --rotate=90:2,4,6 --rotate=180:7-8 input.pdf output.pdfClick to copy
Remove the password from a password protected file:
qpdf --password=password --decrypt input.pdf output.pdfClick to copy
To install the latest version of qpdf in your favorite operating system just copy the qpdf installation command from above and paste it into terminal. It will download and install the latest version of qpdf 2023 package in your OS.