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.
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.