Update paperless-ngx-install.sh

This commit is contained in:
CanbiZ 2025-04-30 09:18:13 +02:00
parent 3cc9bdf3ce
commit 624bc4e5d6

View File

@ -18,6 +18,8 @@ $STD apt-get install -y \
redis \ redis \
postgresql \ postgresql \
python3-dev \ python3-dev \
python3-setuptools \
python3-wheel \
build-essential \ build-essential \
imagemagick \ imagemagick \
fonts-liberation \ fonts-liberation \
@ -39,26 +41,26 @@ $STD apt-get install -y \
setup_uv setup_uv
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
# msg_info "Installing OCR Dependencies (Patience)" msg_info "Installing OCR Dependencies (Patience)"
# $STD apt-get install -y \ $STD apt-get install -y \
# unpaper \ unpaper \
# icc-profiles-free \ icc-profiles-free \
# qpdf \ qpdf \
# liblept5 \ liblept5 \
# libxml2 \ libxml2 \
# pngquant \ pngquant \
# zlib1g \ zlib1g \
# tesseract-ocr \ tesseract-ocr \
# tesseract-ocr-eng tesseract-ocr-eng
# cd /tmp cd /tmp
# curl -fsSL "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10051/ghostpdl-10.05.1.tar.gz" -o "ghostscript.tar.gz" curl -fsSL "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10051/ghostpdl-10.05.1.tar.gz" -o "ghostscript.tar.gz"
# $STD tar -xzf ghostscript.tar.gz tar -xzf ghostscript.tar.gz
# cd ghostpdl-10.05.1 cd ghostpdl-10.05.1
# $STD ./configure $STD ./configure
# $STD make $STD make
# $STD make install $STD make install
# msg_ok "Installed OCR Dependencies" msg_ok "Installed OCR Dependencies"
msg_info "Installing JBIG2" msg_info "Installing JBIG2"
$STD git clone https://github.com/ie13/jbig2enc /opt/jbig2enc $STD git clone https://github.com/ie13/jbig2enc /opt/jbig2enc