Question: what is the difference between rpm and yum in linux?
Answer: Yum is a package manager and rpms are the actual packages. With yum you can add or remove software. The software itself comes within a rpm. The package manager allows you to install the software from hosted repositories and it will usually install dependencies as well.