sudo apt install auto yes code example Example: Automatically answer 'Yes' when using apt-get install apt-get -y install [packagename]