Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Latest commit

 

History

History
54 lines (36 loc) · 1002 Bytes

BUILD.md

File metadata and controls

54 lines (36 loc) · 1002 Bytes

Building PDF Redact Tools

First, get a copy of the source code.

git clone https://github.com/micahflee/pdf-redact-tools.git
cd pdf-redact-tools

Debian-based Linux (Debian, Ubuntu, Mint, etc.)

Install dependencies:

sudo apt-get install imagemagick libimage-exiftool-perl python-stdeb python-all fakeroot build-essential

Create a .deb and install it:

./build_deb.sh
sudo dpkg -i deb_dist/pdf-redact-tools_*-1_all.deb

Red Hat-based Linux (Red Hat, Fedora, CentOS, etc.)

Install dependencies:

sudo dnf install rpm-build ImageMagick perl-Image-ExifTool

Create a .rpm and install it:

./build_rpm.sh
sudo dnf install dist/pdf-redact-tools-*-1.noarch.rpm

Mac OS X

The easiest way to get this working on OS X is by installing dependencies with Homebrew.

Install dependencies:

brew install imagemagick exiftool gs

Install pdf-redact-tools systemwide:

sudo cp pdf-redact-tools /usr/local/bin