Run the install command with the -y flag to quickly install the packages and dependencies. sudo apt-get install -y pwgen