30 lines
No EOL
906 B
Bash
Executable file
30 lines
No EOL
906 B
Bash
Executable file
#!/bin/bash
|
|
# This script installs required dependencies on Linux
|
|
|
|
# Update package lists and install Python3
|
|
sudo apt update -y
|
|
sudo apt install python3 -y
|
|
|
|
# Install Python3 pip
|
|
sudo apt install python3 python3-pip -y
|
|
|
|
# For GUI
|
|
sudo apt-get install python3-tk -y
|
|
pip install customtkinter -y
|
|
|
|
# For Images
|
|
pip3 tkintertable
|
|
pip3 Pillow --upgrade --force --no-cache-dir
|
|
|
|
# Install additional Python packages
|
|
pip3 install requests
|
|
sudo apt install libgirepository1.0-dev -y
|
|
sudo apt install python3-cairo-dev -y
|
|
pip3 install pillow # Pillow for image manipulation
|
|
pip3 install tqdm # For progress bar in terminal
|
|
|
|
# Optional for compiling to executable
|
|
pip3 install nuitka # For building in to executable
|
|
sudo apt install patchelf -y # Install PatchELF for Nuitka (if needed)
|
|
sudo apt install ccache -y # Install ccache for faster re-compiling
|
|
pip3 install setuptools # Install setuptools for packaging |