mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2024-12-21 19:08:24 +01:00
Merge pull request #152 from trytomakeyouprivate/patch-1
Update LocalRunGuide.md
This commit is contained in:
commit
a4c8221fc4
@ -43,6 +43,12 @@ sudo apt-get update
|
|||||||
sudo apt-get install -y git automake autoconf libtool libleptonica-dev pkg-config zlib1g-dev make g++ java-17-openjdk python3 python3-pip
|
sudo apt-get install -y git automake autoconf libtool libleptonica-dev pkg-config zlib1g-dev make g++ java-17-openjdk python3 python3-pip
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For Fedora-based systems use this command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo dnf install -y git automake autoconf libtool leptonica-devel pkg-config zlib-devel make gcc-c++ java-17-openjdk python3 python3-pip
|
||||||
|
```
|
||||||
|
|
||||||
### Step 2: Clone and Build jbig2enc (Only required for certain OCR functionality)
|
### Step 2: Clone and Build jbig2enc (Only required for certain OCR functionality)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -88,6 +94,13 @@ sudo apt-get install -y libreoffice-core libreoffice-common libreoffice-writer l
|
|||||||
pip3 install opencv-python-headless
|
pip3 install opencv-python-headless
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For Fedora:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo dnf install -y libreoffice-writer libreoffice-calc libreoffice-impress unpaper ocrmypdf
|
||||||
|
pip3 install uno opencv-python-headless unoconv pngquant
|
||||||
|
```
|
||||||
|
|
||||||
### Step 4: Clone and Build Stirling-PDF
|
### Step 4: Clone and Build Stirling-PDF
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
Reference in New Issue
Block a user