How To Use YUM To Install RPM Packages with Dependencies?

Sometimes, We can not install rpm packages with “rpm -ivh” command. Because there are some dependencies. We can install rpm packages and also its dependencies with YUM. How to use YUM to install RPM packages with dependencies?

1- Login as root

2- Right click CDROM icon and click “Settings” menu on VMWare .

3- Click “Browse” button.

4- Choose your Oracle Enterprise Linux 5.7 installation iso file.

5- Check “Connectted” and “Connect at power on” check boxes and click OK.