Installing applications using YUM

We can install a new package using the YUM utility. The YUM utility will resolve all the dependencies of the package and prompt for confirmation before installation.

The following are examples to illustrate the usage of the yum command for package installation:

  • Use the following command to install an application using YUM:
$ yum install firefox
  • Install an application without prompting for confirmation by using the -y option:
$ yum -y install firefox
  • Install a package without verifying its signature:
$ yum install firefox --nogpgcheck
  • Install a downloaded RPM file from a local directory. It automatically downloads the dependencies of the package from the configured repositories:
$ yum localinstall <path_to_rpm_file>

An example of the yum localinstall command is shown here:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.200.180