My Oracle Support Banner

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

Last updated on OCTOBER 25, 2023

Applies to:

Linux OS - Version Enterprise Linux 4.0 and later
Oracle Cloud Infrastructure - Version N/A 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)

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