#!/bin/bash PACKAGE_LIST='./package.list' PACKAGE_DIR='./packages' cat $PACKAGE_LIST | xargs apt-get -y install dpkg -Ri $PACKAGE_DIR