LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yum install commands (https://www.linuxquestions.org/questions/linux-newbie-8/yum-install-commands-4175475992/)

Graeme Savage 09-05-2013 02:16 AM

yum install commands
 
Hi I am currently installing Linux centos 6 as a support platform for unisolv and after installing the product - centos 6 , in cli mode I have had to add all of the desktop applications to get the gui to work - I wanted it to install off the gui interface but it went straight into cli mode which I suspect was because the install (centos) did not like my on board graphic card - after reading up on the redhat site it was suggested that a group install using yum was the way to get a working desktop which has worked - I was just wondering why the command "yum -y" was used - what does the "-y" mean.

evo2 09-05-2013 02:31 AM

Hi,

hi welcome to LQ. Most commands have documentation in the form of a "man page" (man short for manual). So it you want to know what a command does you can read that documentation. So for example you can run:
Code:

man yum
You can scroll around with the arrow keys and pgup/pgdn. Press q to quit. I this page you'll find the following:
Code:

      -y, --assumeyes
              Assume yes; assume that the answer to any question which would be asked
              is yes.

Cheers,

Evo2.


All times are GMT -5. The time now is 03:08 PM.