File size: 487 Bytes
a904b9b
 
 
8595f99
 
 
 
 
 
 
a904b9b
 
1
2
3
4
5
6
7
8
9
10
11
12
13
apt-get update && apt-get install -y software-properties-common
add-apt-repository ppa:deadsnakes/ppa -y
apt-get update && apt-get install -y python3.12 python3.12-venv python3.12-dev
#!/bin/bash
# Updatepackage list
apt-get update 
# Install Poppler (needed for pdf2image)
apt-get install -y poppler-utils 
# Install Tesseract for OCR (if needed)
apt-get install -y tesseract-ocr
# Set Python 3.12 as default
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1