Blog

install stirling-pdf in pc linux

Written on January 16, 2025

Have you found that the stirling-pdf deployed by others such as ours is very slow, in order to solve this problem, you can deploy it on your own local machine.

This guide describes how to deploy strling-pdf on local Debian Linux, and the steps are as follows:

1. opening terminal

2. Then enter the following commands in the terminal in turn:

sudo apt update

sudo apt install podman

cd

mkdir -v stirling-pdf

cd stirling-pdf

mkdir -v extraConfigs logs trainingData

podman pull docker.io/stirlingtools/stirling-pdf

podman run -d -p 8080:8080 -v ./trainingData:/usr/share/tessdata -v ./extraConfigs:/configs -v ./logs:/logs -e DOCKER_ENABLE_SECURITY=false -e INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false -e LANGS=en_US --name stirling-pdf stirlingtools/stirling-pdf:latest

  3. Open your browser

Wait a few minutes, enter the http://localhost:8080, and you should be able to use stirling-pdf normally

4. stop the stirling-pdf

If you do not need the stirling-pdf,you can stop it using the command:

podman stop stirling-pdf

Copyright © 2024 GxPDF
Email: support@gxpdf.com
Powered By Pruvious