pdfcrop

Detect and remove margins in each page in a PDF file. More information: <https://github.com/ho-tex/pdfcrop>.

Debian Debian
RUN apt-get update && \ apt-get install -y texlive-extra-utils
Ubuntu
RUN apt-get update && \ apt-get install -y texlive-extra-utils
Arch Arch Linux
RUN pacman -S --noconfirm texlive-pdfcrop-7
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y texlive-extra-utils
CentOS
RUN yum install -y texlive-pdfcrop-7
Fedora
RUN dnf install -y texlive-pdfcrop-7
Raspbian
RUN apt-get update && \ apt-get install -y texlive-extra-utils
click the source code to copy install pdfcrop on any operating system with command-not-found.com