I am trying to understand how interpret the release field displayed by yum info on RHEL 6. for example the commands below give wildly different values for Relase, what exactly is release refering to, the RHEL server release, the package release?
# yum info java-1.7.0-openjdk.x86_64 Loaded plugins: product-id, rhnplugin, security, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Available Packages Name : java-1.7.0-openjdk Arch : x86_64 Epoch : 1 Version : 18.104.22.168 Release : 2.2.1.el6_3.3 Size : 25 M Repo : rhel-x86_64-server-6 Summary : OpenJDK Runtime Environment License : ASL 1.1 and ASL 2.0 and GPL+ and GPLv2 and GPLv2 with exceptions Description : The OpenJDK runtime environment. # yum info java-1.7.0-oracle.x86_64 Loaded plugins: product-id, rhnplugin, security, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Available Packages Name : java-1.7.0-oracle Arch : x86_64 Epoch : 1 Version : 22.214.171.124 Release : 1jpp.5.el6_3 Size : 38 M Repo : rhel-x86_64-server-supplementary-6 Summary : Oracle Java Runtime Environment License : Oracle Binary Code License Agreement for the Java SE Platform Pr Description : The Java Runtime Environment (JRE) contains the software and tools : that users need to run applets and applications written using the Java : programming language. # yum info httpd Loaded plugins: product-id, rhnplugin, security, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Installed Packages Name : httpd Arch : x86_64 Version : 2.2.15 Release : 15.el6_2.1 Size : 2.9 M Repo : installed From repo : rhel-x86_64-server-6 Summary : Apache HTTP Server URL : http://httpd.apache.org/ License : ASL 2.0 Description : The Apache HTTP Server is a powerful, efficient, and extensible : web server.
Release field of an RPM is set by whoever created the package, usually the developer working on packaging it. The format is completely arbitrary, and one does not necessarily have any relation to another.
That said, Red Hat will always put
el#_# in their
Release field, indicating the major and minor versions of RHEL for which the package was built.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.