LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Closed Thread
  Search this Thread
Old 03-28-2004, 07:05 AM   #1
farmerdan
Member
 
Registered: Feb 2004
Location: IA-MO State Line
Distribution: Ubuntu 10.04
Posts: 59

Rep: Reputation: 15
Upgrading Software by Building new RPM's


Here's the description: I find some software I like, but wanting the cutting edge, I go to the home site and find that since someone wrote the RPM, the software has been upgraded at least once. AND no one has written a new RPM. OK, so why don't I do it?

From what I've read, the key to doing this is the SPEC file. I've never written one of these from scratch--haven't even plagiarized one yet. But I'm looking for an easy way to do this. I don't know of any method in which I could "dissect" the SPEC file of a given package, so I'm thinking that this is the way I must go:[list=1][*]Download the SRPM--foobar-1.0.srpm, for example.[*]Install it <rpm -ivh foobar-1.0.srpm>[*]Download and untar the upgraded source file <tar -xzvf foobar-2.3.tar.bz>[*]configure foobar-2.3[*]Compare the results of the configuration to the file list in the SPEC file and make any changes necessary[*]Remove the foobar-1.0 source from the build directory and insert the foobar-2.3 source (or copy the SPEC file as one for foobar-2.3 and insert the foobar-2.3 source into the SOURCE directory)[*]Build the RPM[/list=1] This seems reasonable to me. If there are problems with this approach, I would appreciiate it if someone would identify them. Additionally, I haven't found any documentation on "easy" ways to build RPM's that just upgrade software. If someone knows of any, I would appreciate knowing where it is.

Before anyone says, "Why don't you just install from the source?" let me say that this is my ultimate goal. I want to wean myself of commercial distributions and I am currently running Mandrake 9.2. I have discovered that sometimes new software "acts hinky" if I just install it. I want to make sure I get all the headers and whatnot, and if I compare my linux experience to child development, I have just learned to roll over.

Let me thank anyone in advance for commenting on my approach, making recommendations or pointing me to some new documentation.
 
Old 03-28-2004, 07:08 AM   #2
farmerdan
Member
 
Registered: Feb 2004
Location: IA-MO State Line
Distribution: Ubuntu 10.04
Posts: 59

Original Poster
Rep: Reputation: 15
I don't know how this double post happened. Obviously, operator error of some sort. Maybe a moderator could remove one of them. They are identical.
 
Old 03-28-2004, 11:29 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Closed. Regards.
 
  


Closed Thread



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Building RPM's - Finding dependancies? HCLogo Linux - Newbie 2 08-25-2004 07:27 AM
Building RPM's - Finding dependancies? HCLogo Linux - Software 0 05-20-2004 02:05 PM
Upgrading Software by Building new RPM's farmerdan Linux - General 2 03-28-2004 07:13 AM
Building RPM's from Sources in RH 7.3 MgF Linux - Newbie 2 02-03-2003 12:36 AM
Upgrading MySQL under Redhat 8.0 through rpm's kernelclink Linux - Software 2 12-29-2002 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:27 AM.

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