Question: what is the main advantage of using yum over rpm?
Answer: The yum command allows you to install, update, list and remove packages. The advantage of yum over the rpm command is it deals with all dependencies for you, prompting you with the required dependencies and the total size of the operation.