15 TOP YUM Interview Questions & Answers pdf download

Real Time 15 YUM Interview Questions with Answers PDF


1.What Is Yum Server ?
The Yellowdog Updater, Modified (yum) is an open-source command-line package-management utility for Linux operating systems using the RPM Package Manager. Though yum has a command-line interface, several other tools provide graphical user interfaces to yum functionality. Yum allows automatic updates, package and dependency management, on RPM-based distributions. Like the Advanced Packaging Tool (APT) from Debian, yum works with software repositories (collections of packages), which can be accessed locally or over a network connection.

Advantages of Yum Server:
· Automatic resolution of software dependencies. If a package installation or upgrade request is made and requires the installation or upgrade of additional packages, YUM can list these dependencies and prompt the user to install or upgrade them.
· Command-line and graphical versions. The command-line version can be run on a system with a minimal number of software packages. The graphical versions offer ease-of-use and a user-friendly graphical interface to software management.
· Multiple software locations at one time. YUM can be configured to look for software packages in more than one location at a time.

yum Interview Questions
yum Interview Questions

2.Difference Between YUM and RPM?

YUM and RPM Differencess
YUM and RPM Differencess

3.How to install packages using yum ?
yum install package_name

4.How to update the package using yum ?
yum update package_ name

5.How to search the package in yum ?
yum search package_name

6.How to remove the package using yum ?
yum remove package_name

7.How to check the updates for yum repository ?
yum check-update

8.How to update the yum repo ?
yum update

9.How to get the package information using yum ?
yum info package_name

10.How to list the installed packages on Redhat linux using yum command ?
yum list installed

11.How to know the particular files belongs to which package ?
yum provides file_path
Ex:
[root@mylinz ~]# yum provides /etc/yum.conf
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
yum-3.2.27-14.el6.noarch : RPM installer/updater
Repo : local-installation
Matched from:
Filename : /etc/yum.conf

yum-3.2.27-14.el6.noarch : RPM installer/updater
Repo : installed
Matched from:
Other : Provides-match: /etc/yum.conf

12.How to list the enabled repositories ?
yum repolist

13. Which option is required to assume the answer “yes” to any questions asked during installation of package dependencies for YUM?
The “-y” option is used to assume the answer “yes”.
For Example
yum -y install squid

Latest YUM Interview Questions for freshers and Experienced pdf