Linux Mint Installation Sequence

I have been using Home Assistant for a while now and overall have been pretty happy and have learned a great deal. A friend of mine asked me to setup HA at his house and I wanted to just make sure the procedure I used to install will be good when it will be running at another location:

Hardware:
HP Elite 8200 (Ultra Compact), i5 2500, 4GB Ram 256GB SSD
OS - Linux Mint 19.1

This machine will do nothing else than run HA. I have seen a million different ways to install and this is what I used:

sudo apt-get update
sudo apt-get upgrade

sudo apt-get install docker.io (I read another post stating that docker.ce should be used, not sure what the difference is)
sudo apt-get install socat
sudo apt-get install jq

sudo su -

curl -sL https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh | bash -s

HA has been running at my place on an identical machine using the procedure above. Should I be doing anything different to install it correctly? Being that it is at a friends house I want to make it as simple for him as possible

Thanks in advance

Richard

Why not follow the explicit instructions and learn from the warning?

$ sudo -i
# apt-get install software-properties-common
# add-apt-repository universe
# apt-get update
# apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat
# curl -fsSL get.docker.com | sh
# curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s

All from https://www.home-assistant.io/hassio/installation/#alternative-install-on-a-generic-linux-host

Thank you,

There are so many tutorials out there it is hard for someone that’s relatively new to HA to figure out what is right and what is wrong.

I will give this a try on my old laptop

2 Likes

I try to stick with the official documentation wherever possible. Otherwise I look for recommendations from here.

Apparently some younger people want everything in video form, but i find text form generally easier to follow, especially if you can copy/paste part of a configuration.

3 Likes

I agree 100% about being able to copy & paste.

I just installed Docker CE following the instructions on docker.com without any issues, Then I proceeded to paste all the commands listed above. When I got to:

curl -fsSL get.docker.com | sh

I received a warning docker was already installed so I didn’t proceed with that command and went on to install HASSIO.

Everything installed without errors. Just for future reference if I use all the commands above I assume a version of docker will be installed which basically means I do not have to do the docker ce install at the beginning as I did this time?

That command installs Docker CE the same as following Docker’s instructions.

1 Like

That’s perfect thank you for your help,

I know for next time Exactly what to do

1 Like

get 404 error on link above

Because the script has been replaced by a .deb package, and Linux Mint and all other Linux distributions except Debian bookworm are not supported anymore for a Supervised install.