added routine for installing from tar.gz