New method for ensuring required packages are installed.