My Oracle Support Banner

How To Identify And Compare RPM Package Versions (Doc ID 1292776.1)

Last updated on AUGUST 04, 2018

Applies to:

Linux OS - Version: Oracle Linux 4.4 and later   [Release: OL4U4 and later ]
Linux x86

Goal

Given the complexity of RPM package names and the equally complex RPM file names, by what methods can the names and versions be authoritatively determined?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
  Goal
  Solution
     How RPM Package and File Names Are Constructed
     How To Get The RPM Package Information From An RPM File
     Using ls(1) To Determine RPM Package File Precidence
     Using sort(1) To Determine Precedence
     How RPM Package Versions Are Compared (Natural Sorting)

Platforms: 1-914CU;

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.