Reduce the calls to apt-get install.