Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Welcome to ask.fedora. You seem to have a bit of a syntax error there because su - logs you in as root and doesn't take any other commands as arguments. (If you'd put a username after the dash, it would log you in as that user.) To run that one command as root, you need to use su -c 'yum groupinstall "Development Tools" "Deveiopment Libraries"' instead. Note that the single quotes around the entire yum command are needed so that su "understands" that it's all one extended command, unlike using sudo which just passes everything along as is.

click to hide/show revision 2
No.2 Revision

Welcome to ask.fedora. You seem to have a bit of a syntax error there because su - logs you in as root and doesn't take any other commands as arguments. (If you'd put a username after the dash, it would log you in as that user.) To run that one command as root, you need to use su -c 'yum groupinstall "Development Tools" "Deveiopment "Development Libraries"' instead. Note that the single quotes around the entire yum command are needed so that su "understands" that it's all one extended command, unlike using sudo which just passes everything along as is.