Factor out apt install