rohitashva commited on
Commit
8595f99
·
verified ·
1 Parent(s): 89e7b88

Update setup.sh

Browse files
Files changed (1) hide show
  1. setup.sh +7 -1
setup.sh CHANGED
@@ -1,6 +1,12 @@
1
  apt-get update && apt-get install -y software-properties-common
2
  add-apt-repository ppa:deadsnakes/ppa -y
3
  apt-get update && apt-get install -y python3.12 python3.12-venv python3.12-dev
4
- apt-get update && apt-get install -y tesseract-ocr
 
 
 
 
 
 
5
  # Set Python 3.12 as default
6
  update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1
 
1
  apt-get update && apt-get install -y software-properties-common
2
  add-apt-repository ppa:deadsnakes/ppa -y
3
  apt-get update && apt-get install -y python3.12 python3.12-venv python3.12-dev
4
+ #!/bin/bash
5
+ # Updatepackage list
6
+ apt-get update
7
+ # Install Poppler (needed for pdf2image)
8
+ apt-get install -y poppler-utils
9
+ # Install Tesseract for OCR (if needed)
10
+ apt-get install -y tesseract-ocr
11
  # Set Python 3.12 as default
12
  update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1