Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
In centos how do you answer yes automatically for yum install so that it is an unassisted install?
You can use:
yum -y install packagename
The "-y" implies "yes".
yes | yum ...
Add the following line to /etc/yum.conf
Required, but never shown