Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 734 Bytes

File metadata and controls

31 lines (25 loc) · 734 Bytes

Install Python 3.13 + venv tooling

su
apt install -y software-properties-common
add-apt-repository ppa:deadsnakes/ppa
apt update
apt install -y python3.13 python3.13-venv python3.13-dev
  • Install build deps (often needed for wheels):
apt install -y build-essential pkg-config libpq-dev libssl-dev libffi-dev zlib1g-dev

If pip isn't available

  • Install pip for Python 3.13
  • Ubuntu sometimes doesn’t ship python3.13-pip in a convenient way; a reliable approach:
curl -sS https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py
python3.13 /tmp/get-pip.py
python3.13 -m pip --version

Install and configure Nginx

sudo apt install -y nginx
sudo systemctl enable --now nginx