First attempt to factorize package installation.