The Home Assistant team no longer supports Core, but you can still install and use it.
Here's how to install it on a Raspberry Pi 4 with Ubuntu 24.04 LTS, but the same method works perfectly for any other hardware or virtual machine.
All operations must be performed as administrator (root). If you're working as a user, type "sudo -i" at startup or create a root password to access administrator privileges.
I also install all the necessary components to migrate the SQLite database to MySQL, as I find Home Assistant much faster with MySQL.
However, this isn't the focus of this tutorial, and I won't be covering that topic. _____________________________________________________________________________________
Add repository
add-apt-repository ppa:deadsnakes/ppa
Install all these packages:
apt install -y python3.13 python3.13-dev python3.13-venv python3-pip build-essential libffi-dev libssl-dev libjpeg-dev zlib1g-dev bluez
apt install -y libbz2-dev libreadline-dev libsqlite3-dev libncursesw5-dev libxml2-dev libxmlsec1-dev libxslt1-dev
apt install -y liblzma-dev libudev-dev avahi-daemon libavahi-client-dev dbus systemd libglib2.0-dev libc6-dev libbluetooth-dev
apt install -y libreadline-dev python3-docutils libical-dev libsystemd-dev tk-dev libgdbm-dev pkg-config default-libmysqlclient-dev
cd /usr/src
wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.85.tar.gz
tar -xzf bluez-5.85.tar.gz
cd bluez-5.85
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var
make
apt-get purge bluez
make install
systemctl daemon-reload && systemctl restart dbus bluetooth
systemctl status bluetooth.service
setcap 'cap_net_admin,cap_net_raw+eip' /usr/bin/python3.13
useradd -rm homeassistant -G dialout
mkdir /srv/homeassistant
chown homeassistant:homeassistant /srv/homeassistant
sudo -u homeassistant -H -s
cd /srv/homeassistant
python3.13 -m venv /srv/homeassistant
source bin/activate
python3.13 -m pip install wheel
pip3 install homeassistant==2025.12.3
pip3 install --upgrade "pycares==4.9.0"
pip3 install zlib_ng isal
pip3 install mysqlclient
hass -v
###### Feel free to wait 1 hour to ensure the configuration is done correctly. :-) and when you are tired to wait you can hit Ctrl-C
Now create the startup script /etc/init.d/homeassistant" with nano or any other tool of your choice or get it by this way:
Change your identity to be root again
su root
cd /ect/init.d
chmod 0755 /etc/init.d/homeassistant
update-rc.d homeassistant defaults
reboot
Once finished you will be able to go to http://your_ip:8123 and enjoy the latest version of home-assistant on an up-to-date OS.