Update paperless-ngx-install.sh

This commit is contained in:
CanbiZ 2025-04-30 08:12:46 +02:00
parent ac0db1c89e
commit a255057f54

View File

@ -35,33 +35,29 @@ $STD apt-get install -y \
libtiff-dev \ libtiff-dev \
libpng-dev \ libpng-dev \
libleptonica-dev libleptonica-dev
setup_uv
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setup uv" # msg_info "Installing OCR Dependencies (Patience)"
setup_uv # $STD apt-get install -y \
ln -sf /root/.cargo/bin/uv /usr/local/bin/uv # unpaper \
msg_ok "Setup uv" # icc-profiles-free \
# qpdf \
# liblept5 \
# libxml2 \
# pngquant \
# zlib1g \
# tesseract-ocr \
# tesseract-ocr-eng
msg_info "Installing OCR Dependencies (Patience)" # cd /tmp
$STD apt-get install -y \ # curl -fsSL "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10051/ghostpdl-10.05.1.tar.gz" -o "ghostscript.tar.gz"
unpaper \ # $STD tar -xzf ghostscript.tar.gz
icc-profiles-free \ # cd ghostpdl-10.05.1
qpdf \ # $STD ./configure
liblept5 \ # $STD make
libxml2 \ # $STD make install
pngquant \ # msg_ok "Installed OCR Dependencies"
zlib1g \
tesseract-ocr \
tesseract-ocr-eng
cd /tmp
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
cd ghostpdl-10.05.1
$STD ./configure
$STD make
$STD make install
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