LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-06-2011, 01:01 PM   #1
drManhattan
Member
 
Registered: Aug 2010
Location: Warsaw, Poland
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262

Rep: Reputation: 1
version vs release RPM package


Hi

Trying to understand version nr. of RPM package and release nr.
I have the following package e.g. tree-1.5.3-2.el6.x86_64.rpm.
tree ---> package name
1.5.3 ---> version
2 ---> release
e16 ---> operating system major version
x86_64 ---> cpu architecture

What is the difference between version nr vs release nr ?

thx for help.
 
Old 04-06-2011, 01:25 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
AFAIK the version number is the released version of upstream application foo and the release number is the built of RPM package foo. Say releasing upstream foo-0.1.4 creates foo-0.1.4-1.rpm. Patching upstream foo-0.1.4 then would be foo-0.1.4-2.rpm.
 
Old 04-06-2011, 01:34 PM   #3
drManhattan
Member
 
Registered: Aug 2010
Location: Warsaw, Poland
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262

Original Poster
Rep: Reputation: 1
Quote:
AFAIK the version number is the released version of upstream application foo and the release number is the built of RPM package foo. Say releasing upstream foo-0.1.4 creates foo-0.1.4-1.rpm. Patching upstream foo-0.1.4 then would be foo-0.1.4-2.rpm.
I thought that patching upstrem would change version number from e.g. foo-0.1.4 to foo-0.1.5 ?
What means patching upstream in this example ?
 
Old 04-06-2011, 02:49 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
tree ---> package name

1.5.3 ---> version :
This is the "major" version number. Will usually not change in RHEL.

2.el6 : '2' is the "minor" version, or "build version".
The next update can then be e.g. 3.el6
 
Old 04-06-2011, 07:07 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
The minor/build version is the version RHEL created with patches added by RHEL not in the upstream version (major ver num).
RH usually contributes the patches to the upstream provider, but if they are RHEL specific then they won't be added into the upstream version.
You may find chap 10, 11 useful http://www.linuxtopia.org/online_boo...ion/index.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need RPM package for PHP version 5.2.7 and up on redhat 5.1 primeaup Linux - Software 12 11-17-2009 10:30 AM
is there any latest gcc version available in .rpm package anushineforever Linux - Software 1 01-04-2009 01:20 AM
Not able to upgrade the version of the rpm package manohare Red Hat 1 08-16-2007 08:40 AM
is the a package of ndiswrapper-1.1 version in rpm golpemortal Linux - Wireless Networking 2 03-28-2005 09:04 PM
kernel package release version xperience Linux - Software 2 12-12-2003 10:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration