《问》How to Automatically answer 'Yes' when using apt-get install
《问》
How to Automatically answer 'Yes' when using apt-get installSettings temporary
sudo apt-get -y install PACKAGE_NAME
# OR
yes | apt-get install PACKAGE_NAME
Settings permanent
echo "alias apt-get='sudo apt-get -y'" >> ~/.profile
Comments