This is an update to my post on running Home Assistant in a Proxmox Debian LXC – the default instructions will allow you to run a 2024.10 version of Home Assistant. To run the latest version, you need later versions of Python. There’s awesome work done to backport newer python versions to Debian LTS releases – you can install Python 3.13 on Debian Bookworm LXC with these instructions
# Add the repo keys to apt
wget https://pascalroeleven.nl/deb-pascalroeleven.gpg && sudo mv deb-pascalroeleven.gpg /etc/apt/keyrings/
# Add the repo to apt sources
cat <<EOF | sudo tee /etc/apt/sources.list.d/pascalroeleven.sources
Types: deb
URIs: http://deb.pascalroeleven.nl/python3.13
Suites: bookworm-backports
Components: main
Signed-By: /etc/apt/keyrings/deb-pascalroeleven.gpg
EOF
# Update apt package repos
sudo apt update
# Install Python3.13 and 3.13 venv
sudo apt-get install -y python3.13 python3.13-dev python3.13-venv
# Create the python venv for home assistant
python3.13 -m venv ha-latest
# Activate the venv
cd ha-latest/
source bin/activate
# Install wheel
python3.13 -m pip install wheel
# Update pip and wheel
python3.13 -m pip install --upgrade pip wheel
# Install Home Assistant
pip install --force-reinstall --no-cache-dir homeassistant==2025.10
# Run HASS
hass
At this point you should have a functional home assistant running in python venv inside a Debian container.
For some of the other dependencies of Home Assistant, you can run this command to install them:
sudo apt-get install -y bluez libffi-dev libssl-dev libjpeg-dev zlib1g-dev autoconf build-essential libopenjp2-7 libtiff6 libturbojpeg0-dev tzdata ffmpeg liblapack3 liblapack-dev libatlas-base-dev ffmpeg unzip
You can then install HACS by running this command:
wget -O - https://get.hacs.xyz | bash -
After this, restart hass and you will have functioning Home Assistant install with HACS running in a python venv in a Debian container.