LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 11: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, 01:28 PM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
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, 07:37 PM   #3
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,593

Rep: Reputation: 188Reputation: 188
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, 08: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, 09:06 PM   #5
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
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 09:10 PM.
 
Old 05-17-2003, 09: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, 09:23 PM   #7
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
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 09:24 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 10:16 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration