File: install-verapdf.sh

package info (click to toggle)
fpdf2 2.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 53,828 kB
  • sloc: python: 39,486; sh: 133; makefile: 12
file content (26 lines) | stat: -rwxr-xr-x 904 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash

# Install veraPDF on a Linux system

# USAGE: ./install-verapdf.sh

set -o pipefail -o errexit -o nounset -o xtrace

VERSION=1.29.15
PUB_KEY_FINGERPRINT=13DD102B4DD69354D12DE5A83184863278B17FE7
FILENAME=verapdf-greenfield-${VERSION}-installer.zip
ZIP_URL=https://software.verapdf.org/dev/${VERSION%.*}/${FILENAME}

rm -rf verapdf*
# VeraPDF website certificates expired on June 4th 2025:
wget --no-check-certificate --quiet ${ZIP_URL}
wget --no-check-certificate --quiet ${ZIP_URL}.asc
gpg --keyserver keyserver.ubuntu.com --recv ${PUB_KEY_FINGERPRINT}
gpg --verify ${FILENAME}.asc
unzip verapdf*installer.zip
# Path to verapdf.properties must be relative to verapdf-*/ :
verapdf-*/verapdf-install -options ../scripts/verapdf.properties
# verapdf.properties targets an installation in /tmp, because an absolute path is required :
mv /tmp/verapdf .
verapdf/verapdf --version
rm -rf verapdf-*