LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-17-2003, 10:50 AM   #1
akidd
LQ Newbie
 
Registered: Jan 2003
Posts: 23

Rep: Reputation: 15
RPM database and the bleeding edge


I've read and skimmed many resources RE: RPMs and how they work. Largely these documents describe the commandline args and how to use the RPM utilities.

I'm more interested in understanding how/if there is a central RPM database. Where does that database reside? Are there utilities available to manipulate it? Is it possible to compile/build/install an app and subsequently add it to the RPM database?

Maybe I'm misunderstanding - but better clarity around how this works may spark some ideas to fix the dependency hell issues.

For example, I love APT-GET and Synaptic - but the source I use to sync with (freshrpms) seems to only include updates equivilant to the Red Hat errata (security, bugfixes) and rarely new product updates.

I want a mechanism (even if I have to build it) to grab KDE 3.1.1, Mozilla 1.4b, OpenOffice 1.03, etc, etc when they are initially made available - and have it presented in the same Synaptic like UI without trashing the value of an RPM database in keeping track of what I have installed.

This may be solved with a different source repository - but I have yet to find one that does this with Redhat 8 or 9.
 
Old 05-17-2003, 12:28 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
When you install an rpm the database is updated, that's the whole point of using rpm

if you have a program that's not available as an rpm you can create an rpm and install it

http://www.tldp.org/HOWTO/RPM-HOWTO/index.html
 
Old 05-17-2003, 06:37 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,346

Rep: Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552
rpm database

---------------------------------------------------------------------------
I'm more interested in understanding how/if there is a central RPM database. Where does that database reside?

If you mean is there a single global rpm data base web site, the answer is no. Each distribution that uses rpm maintains their own rpm data base.

If you are talking about your own machine, yes, there is a central RPM database. SuSE puts it in /var/lib/rpm
---------------------------------------------------------------------------
Is it possible to compile/build/install an app and subsequently add it to the
RPM database?

If you are talking globally, some distributions have a portion of their central
RPM database set aside for user contributions. But this is not a heavily used feature.

If you are talking about your own machine try checkinstall.

http://asic-linux.com.mx/~izto/checkinstall/
---------------------------------------------------------------------------
 
Old 05-17-2003, 07:58 PM   #4
akidd
LQ Newbie
 
Registered: Jan 2003
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by DavidPhillips
When you install an rpm the database is updated, that's the whole point of using rpm

if you have a program that's not available as an rpm you can create an rpm and install it

http://www.tldp.org/HOWTO/RPM-HOWTO/index.html

Anyone know of a utility to browse the local RPM database? (I hate to say this, but something like REGEDIT??)
 
Old 05-17-2003, 08:06 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
it depends on what you want to see but there's

rpm -qa

also check out kpackage if you want a description of each rpm and a file list

or gnorpm


however there is nothing like a registry in linux.

I would say it's more like add remove programs deluxe edition

Last edited by DavidPhillips; 05-17-2003 at 08:10 PM.
 
Old 05-17-2003, 08:18 PM   #6
akidd
LQ Newbie
 
Registered: Jan 2003
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by DavidPhillips

however there is nothing like a registry in linux.

I would say it's more like add remove programs deluxe edition [/B]
Thanks - understood there is no registry in Linux. Was looking for an editor for the RPM database (or at least a browser).

Was wondering if it would be possible to manually add/remove files to be tracked, and want to look at the "guts" of the db to see if supporting tools could be authored to help add apps after a non-RPM install.

Thanks again for your answer.
 
Old 05-17-2003, 08:23 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
kpackage is the best I've seen

I think if you want to maintain a full rpm based system the answer is to only use rpm files, this would require some rpm's to be built from time to time for some people.

Last edited by DavidPhillips; 05-17-2003 at 08:24 PM.
 
  


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
OpenSP and Bleeding Edge LFS Andrew Benton Linux From Scratch 9 11-10-2005 03:37 AM
Bleeding Edge Repositories lobo78 Ubuntu 2 09-20-2005 11:49 PM
Being on the Bleeding edge of OSS ? Kamikazee Linux - Software 1 07-20-2005 05:03 AM
Why - bleeding edge SW Artik Debian 7 05-24-2005 11:27 AM
Bleeding-edge distros? rl5 Linux - Distributions 9 04-14-2004 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:25 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