{"id":586,"date":"2025-10-25T10:01:53","date_gmt":"2025-10-25T18:01:53","guid":{"rendered":"https:\/\/nramkumar.org\/tech\/?p=586"},"modified":"2025-10-25T10:01:54","modified_gmt":"2025-10-25T18:01:54","slug":"running-latest-home-assistant-in-a-proxmox-debian-bookworm-12-lxc","status":"publish","type":"post","link":"https:\/\/nramkumar.org\/tech\/blog\/2025\/10\/25\/running-latest-home-assistant-in-a-proxmox-debian-bookworm-12-lxc\/","title":{"rendered":"Running latest Home Assistant in a Proxmox Debian Bookworm 12 LXC"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This is an <a href=\"https:\/\/nramkumar.org\/tech\/blog\/2025\/10\/17\/installing-homeassistant-on-debian-12-0-lxc-in-proxmox\/\">update to my post on running Home Assistant in a Proxmox Debian LXC<\/a> &#8211; 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&#8217;s awesome work done to <a href=\"https:\/\/github.com\/pascallj\/python3.13-backport\">backport newer python versions to Debian LTS releases<\/a> &#8211; you can install Python 3.13 on Debian Bookworm LXC with these instructions<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Add the repo keys to apt\nwget  https:\/\/pascalroeleven.nl\/deb-pascalroeleven.gpg &amp;&amp; sudo mv deb-pascalroeleven.gpg \/etc\/apt\/keyrings\/\n\n# Add the repo to apt sources\ncat &lt;&lt;EOF | sudo tee \/etc\/apt\/sources.list.d\/pascalroeleven.sources\nTypes: deb\nURIs: http:\/\/deb.pascalroeleven.nl\/python3.13\nSuites: bookworm-backports\nComponents: main\nSigned-By: \/etc\/apt\/keyrings\/deb-pascalroeleven.gpg\nEOF\n\n# Update apt package repos\nsudo apt update\n\n# Install Python3.13 and 3.13 venv\nsudo apt-get install -y python3.13 python3.13-dev python3.13-venv\n\n# Create the python venv for home assistant\npython3.13 -m venv ha-latest\n\n# Activate the venv\ncd ha-latest\/\nsource bin\/activate\n\n# Install wheel\npython3.13 -m pip install wheel\n\n# Update pip and wheel\npython3.13 -m pip install --upgrade pip wheel\n\n# Install Home Assistant\npip install --force-reinstall --no-cache-dir homeassistant==2025.10\n\n# Run HASS\nhass<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">At this point you should have a functional home assistant running in python venv inside a Debian container.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For some of the other dependencies of Home Assistant, you can run this command to install them:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>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<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can then install HACS by running this command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget -O - https:\/\/get.hacs.xyz | bash -<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After this, restart hass and you will have functioning Home Assistant install with HACS running in a python venv in a Debian container.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is an update to my post on running Home Assistant in a Proxmox Debian LXC &#8211; 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&#8217;s awesome work done to backport newer python versions to Debian LTS releases&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-586","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/posts\/586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/comments?post=586"}],"version-history":[{"count":1,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/posts\/586\/revisions"}],"predecessor-version":[{"id":587,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/posts\/586\/revisions\/587"}],"wp:attachment":[{"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/media?parent=586"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/categories?post=586"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/tags?post=586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}