G.3 Install, Update, and Remove RPMs Using Yum

  1. Ensure that the compute node on which you want to perform yum updates has been prepared, as described in Prepare the Compute Nodes for Yum Updates.
  2. Install, update, or remove RPMs as follows:
    • To install an RPM from the yum repository, run the following command:

      # yum install rpm_name
      
    • To update a specific RPM, run the following command:

      # yum update rpm_name
      
    • To update all the RPMs, run the following command:

      # yum update
      
    • To remove an RPM, run the following command:

      # yum remove rpm_name
      

For the yum update or yum remove command, if you specify an RPM that is in the exclusion list defined earlier, the command will fail.