Originally Posted by quanta
Change to "yum -y install $package".
Thanks for you help.
I did that, as per your instruction by default iam giving yes to all the packages, suppose if i want to get the input from the user whether to install it or not (yes or no), what i have to do ??