consolidate apt-get operations