我想了解如何解释由RHEL 6上的yum info显示的发布字段。例如,下面的命令为Relase提供了大不相同的值,发布引用的是什么,RHEL服务器版本,包版本?
# 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 : 1.7.0.5 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 : 1.7.0.7 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.
这两个属性可以总结如下
我希望澄清正在发生的事情。
RPM的Release字段由创build包的人设置,通常是开发人员将其打包。 格式完全是任意的,不一定与另一个有任何关系。
也就是说,红帽总是会在他们的Release域中放置el#或者el#_# ,这表明这个软件包的RHEL的主版本和次版本。