Stack Exchange network consists of 183 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.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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".
The long option is --assumeyes
yes | yum ...
Add the following line to /etc/yum.conf