Home assistant install shows error in logs and during install

I guess you need to install required compiler first, bevor trying aging

apt install g++