This repository has been archived on 2024-06-15. You can view files and clone it, but cannot push or open issues or pull requests.
Launcher/install-linux.sh

30 lines
770 B
Bash
Raw Normal View History

2024-01-09 20:33:27 +00:00
#!/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-pip -y
# Install GTK4 package
sudo apt install libgtk-4-dev -y
# Install PatchELF for Nuitka (if needed)
sudo apt install patchelf -y
# Install Nuitka
pip3 install nuitka
# Install additional Python packages
pip3 install requests
sudo apt install libgirepository1.0-dev -y
sudo apt install python3-cairo-dev -y
pip3 install PyGObject # Install PyGObject for Gtk support
pip3 install pillow # Install Pillow for image manipulation
pip3 install setuptools # Install setuptools for packaging
# Install ccache for faster re-compiling
sudo apt install ccache -y