《问》How to Automatically answer 'Yes' when using apt-get install

《问》

How to Automatically answer 'Yes' when using apt-get install


Settings 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

Popular posts from this blog

英语字母a的发音