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

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

mutool

Convert PDF files, query information and extract data.

Maintainer: Kan-Ru Chen (u9673u4f83u5982)



Section: text

Install mutool

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

Convert PDF files, query information and extract data.

How to use mutool?

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

Convert pages 1-10 into 10 PNG images:
mutool convert -o image%d.png file.pdf 1-10Click to copy
Convert pages 2, 3 and 5 of a PDF into text in the standard output:
mutool draw -F txt file.pdf 2,3,5Click to copy
Concatenate two PDFs:
mutool merge -o output.pdf input1.pdf input2.pdfClick to copy
Query information about all content embedded in a PDF:
mutool info input.pdfClick to copy
Extract all images, fonts and resources embedded in a PDF out into the current directory:
mutool extract input.pdfClick to copy
To install the latest version of mutool in your favorite operating system just copy the mutool installation command from above and paste it into terminal. It will download and install the latest version of mutool 2026 package in your OS.