Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

Which Option Is Required To Assume The Answer “yes” To Any Questions Asked During Installation Of Package Dependencies For Yum?

Answer»

The “-y” OPTION is USED to ASSUME the answer “YES”.

For EXAMPLE:

yum -y install squid

The “-y” option is used to assume the answer “yes”.

For Example:

yum -y install squid

2.

How To List The Enabled Repositories ?

Answer»

YUM repolist

yum repolist

3.

How To Know The Particular Files Belongs To Which Package ?

Answer»

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

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

4.

How To List The Installed Packages On Redhat Linux Using Yum Command ?

Answer»

YUM LIST INSTALLED

yum list installed

5.

How To Get The Package Information Using Yum ?

Answer»

YUM INFO package_name

yum info package_name

6.

How To Update The Yum Repo ?

Answer»

YUM UPDATE

yum update

7.

How To Check The Updates For Yum Repository ?

Answer»

YUM check-update

yum check-update

8.

How To Remove The Package Using Yum ?

Answer»

YUM REMOVE package_name

yum remove package_name

9.

How To Search The Package In Yum ?

Answer»

YUM SEARCH package_name

yum search package_name

10.

How To Update The Package Using Yum ?

Answer»

YUM UPDATE package_ NAME

yum update package_ name

11.

How To Install Packages Using Yum ?

Answer»

YUM INSTALL package_name

yum install package_name

12.

What Is Yum Server ?

Answer»

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.

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: