Installing Packages Using YUM

These are the step invloved in installing an RPM based package automatically in Red Hat Enterprise Linux 5.1 (CentOS 5.1, etc) using the program YUM.

Required Packages:

  • yum

Most of the entries in this blog have a list of packages at the beginning that are required. Unless otherwise noted, the packages in the lists are all available via YUM (Yellowdog Updater Modified). Please see the documentation that came with your RHEL 5.1 or CentOS 5.1 distribution for installing YUM. Most likely, it's alreay installed on your system.

To install a program using YUM, all you really need to know is the name of the package, and a simple command. For instance, if you wanted to install the package 'httpd' (Apache) you would type:

yum install httpd

If you already have a version of Apache installed, and you want to upgrade it, you would type the command:

yum update httpd

If you want to remove (delete) a package, simply type:

yum remove httpd

For more information, please check out this link:

http://www.centos.org/docs/5/html/yum/

Share/Save/Bookmark

Advertisment

Comments

2 Responses to “Installing Packages Using YUM”

  1. Sendmail as a gateway to a LAN mail server in RHEL 5.1 : ChrisSibert.com on July 14th, 2008 4:34 pm

    [...] If you need help installing a package, please read how to install packages using YUM. [...]

  2. Sync Server Folders Using rsync in Red Hat Enterprise 5 | ChrisSibert.com on September 9th, 2008 12:27 pm

    [...] you need help installing a package, please read how to install packages using YUM. Required [...]

Leave a Reply