Show Table of Contents
9.8.3. Installing Cartridge Dependency Metapackages
OpenShift Enterprise 2 supports the latest version of Red Hat Enterprise Linux 6, and some features provided by the base Red Hat Enterprise Linux channel are required. To avoid complications from nonessential package updates in an OpenShift Enterprise environment, base cartridge packages only include packages that are absolutely required. For example, the base cartridge package for PHP is openshift-origin-cartridge-php.
To provide additional, nonessential packages for a cartridge, two cartridge dependency metapackages are available for each cartridge, allowing greater control over the installation of recommended and optional packages. For example, the cartridge dependency metapackages for PHP are:
- openshift-origin-cartridge-dependencies-recommended-php
- openshift-origin-cartridge-dependencies-optional-php
For example, certain libraries provided by a nonessential package might not be allowed in an organization. Because the package is only included in a cartridge dependency metapackage, this allows you to choose whether or not the libraries are installed on your hosts. These metapackages also give Red Hat a way to indicate which sets of dependencies might not be supported in the future.
The following table provides further details on each type of cartridge dependency metapackage.
Table 9.4. Available Cartridge Dependency Metapackages
| Type | Package Name Format | Description |
|---|---|---|
| Recommended | openshift-origin-cartridge-dependencies-recommended-cartridge_short_name | Provides the additional recommended packages for the base cartridge. Useful for compatibility with OpenShift Online. |
| Optional | openshift-origin-cartridge-dependencies-optional-cartridge_short_name | Provides both the additional recommended and optional packages for the base cartridge. Useful for compatibility with OpenShift Online, however these packages might be removed from a future version of OpenShift Enterprise. |
Install any cartridge dependency metapackages using the following command:
# yum install package_nameNote
If you use the kickstart or bash script, the
install_cartridges function performs this step. By default, this function currently installs the recommended cartridge dependency metapackages for all installed cartridges.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.