In centos how do you answer yes automatically for yum install so that it is an unassisted install?
Asked
Active
Viewed 1.9e+01k times
2 Answers
267
You can use:
yum -y install packagename
The "-y" implies "yes".
The long option is --assumeyes
Oliver Salzburg
- 4,667
ewwhite
- 198,150
yes | yum .... – David Schwartz Oct 25 '12 at 05:23yeswas for until just now. amazing! – Conrad.Dean Feb 12 '16 at 02:29yes no– nacitar sevaht Nov 01 '21 at 15:17