Update install scripts to require run as sudo, better package install checks