add script to install packages

otherwise, these configurations don't make sense and I am installing the
same stuff again and again. The script tries to be smart about becoming
root and how to install stuff.