This is a series highlighting best-of-breed utilities. We cover a wide range of utilities including tools that boost your productivity, help you manage your workflow, and lots more besides.
Portable Document Format (PDF) is a file format created by Adobe Systems in 1993 for document exchange. The format includes a subset of the PostScript page description programming language, a font-embedding system, and a structural storage system.
PDF Mix Tool is a small utility that allows you to perform common editing operations on PDF files. It’s a Qt-based tool that’s written in C++.
We’re installing PDF Mix Tool on a completely fresh installation of Ubuntu 21.10.
We first need to install the software’s dependencies and tools. There’s quite a few we’re missing with a new installation of Ubuntu, although some of them you may already have installed on your system, particularly if you compile software.
$ sudo apt install git cmake build-essential libqpdf-dev imagemagick libmagick++-dev qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5svg5-dev qttools5-dev
The build-essential package includes g++ which is needed to compile this software.
Next issue the following commands at a terminal:
$ git clone https://gitlab.com/scarpetta/pdfmixtool
$ cd pdfmixtool
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
$ make -j 6
We’re using the make -j option as this enables the compiler to use more CPU cores, which speeds up compilation enormously.
If you don’t want to manually compile the software, you can install the software using flatpak or snap.
If you’re never used Flatpaks before, you’ll first need to install the flatpak package. At a shell type:
$ sudo apt install flatpak
$ flatpak install flathub eu.scarpetta.PDFMixTool
Run the program with the command:
$ flatpak run eu.scarpetta.PDFMixTool
$ sudo snap install pdfmixtool
$ sudo snap connect pdfmixtool:removable-media
There may also be a convenient package available for your distribution.
Complete list of articles in this series:
|tmux||A terminal multiplexer that offers a massive boost to your workflow|
|lnav||Advanced log file viewer for the small-scale; great for troubleshooting|
|Paperwork||Designed to simplify the management of your paperwork|
|Abricotine||Markdown editor with inline preview functionality|
|mdless||Formatted and highlighted view of Markdown files|
|fkill||Kill processes quick and easy|
|Tusk||An unofficial Evernote client with bags of potential|
|Ulauncher||Sublime application launcher|
|McFly||Navigate through your bash shell history|
|LanguageTool||Style and grammar checker for 30+ languages|
|peco||Simple interactive filtering tool that's remarkably useful|
|Liquid Prompt||Adaptive prompt for Bash & Zsh|
|Ananicy||Shell daemon created to manage processes’ IO and CPU priorities|
|cheat.sh||Community driven unified cheat sheet|
|ripgrep||Recursively search directories for a regex pattern|
|exa||A turbo-charged alternative to the venerable ls command|
|OCRmyPDF||Add OCR text layer to scanned PDFs|
|Watson||Track the time spent on projects|
|fontpreview||Quickly search and preview fonts|
|fd||Wonderful alternative to the venerable find|
|scrcpy||Display and control Android devices|
|duf||Disk usage utility with more polished presentation than the classic df|
|tldr||Simplified and community-driven man pages|
|lsd||Like exa, lsd is a turbo-charged alternative to ls|
|broot||Next gen tree explorer and customizable launcher|
|Deskreen||Live streaming your desktop to a web browser|
|PDF Mix Tool||Perform common editing operations on PDF files|