Menu Close
Settings Close

Language and Page Formatting Options

Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

35.4. Installing Packages With yum

The yum utility allows you to install packages on your system.
To install a single package and all of its non-installed dependencies, enter a command in the following form:
yum install package_name
If you are installing packages on a multilib system, such as an AMD64 or Intel64 machine, you can specify the architecture of the package (as long as it is available in an enabled repository) by appending .arch to the package name. For example, to install the foobar package for i686, type:
~]# yum install foobar.i686
To install packages when your system cannot access a network or the Internet, consider enabling the installation DVD or ISO image file as an installation repository (refer to Section, “Using a Red Hat Enterprise Linux Installation DVD as a Software Repository”). Choose the appropriate installation media if you intend to install packages for a different architecture. For example, to install a 32-bit package on a 64-bit system, enable the 32-bit media as an installation repository.
For more information on installing packages, refer to the Yum chapter in the Red Hat Enterprise Linux Deployment Guide.