Novell Certified Linux Professional (CLP) — Question 15

You want to install the gvim RPM package that is available on the SUSE Linux Enterprise Server installation media.
Which command installs the gvim package, and resolves dependencies as needed?

Answer options

Correct answer: A

Explanation

The correct answer is A, as the 'rpm -i' command is specifically used to install an RPM package while handling dependencies. Option B, 'yast -i gvim', would initiate an installation through YaST, but it is not the primary command for resolving dependencies. Option C is incorrect because 'yast -l' is not a valid command for installation. Option D, 'rpm -U gvim', is used for upgrading packages, not for initial installations.