LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-31-2004, 09:12 PM   #1
mrpc_cambodia
Member
 
Registered: Jun 2004
Posts: 131

Rep: Reputation: 15
Talking where is rpm database file?


Hi

when we run the command rpm -qa, this command will query the rpm database on our system.

So where is this rpm database file located?


Thanks,
 
Old 08-31-2004, 09:49 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"when we run the command rpm -qa, this command will query the rpm database on our system.
So where is this rpm database file located?"

On SuSE the rpm database consists of all of the files in the /var/lib/rpm directory. It is probably in the same place in Red Hat. If it isn't then issue this command to find the files that might be the rpm database directory:

rpm -ql rpm | less

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 09-06-2004, 11:05 PM   #3
hkb33
Member
 
Registered: Sep 2004
Location: Raleigh NC
Distribution: Fedora / RHEL
Posts: 171

Rep: Reputation: 30
I think it's either /var/lib/rpm or /usr/lib/rpmdb/i386-redhat-linux/redhat/
 
Old 09-20-2004, 12:18 PM   #4
jhibbets
Red Hat
 
Registered: Sep 2003
Location: Raleigh, NC
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
Posts: 174

Rep: Reputation: 30
This question/answer has been posted in the Red Hat Knolwedgebase

FAQ Question:
Where is the RPM database located?

Topic(s):

* General Linux : Linux Basics - http://kbase.redhat.com/faq/FAQ_35_3861.shtm

* Red Hat Enterprise Linux : General - http://kbase.redhat.com/faq/FAQ_80_3861.shtm

Free link:
http://kbase.redhat.com/freefaq/FAQ_35_3861.shtm
 
  


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
Rpm database files Janneman Linux - Newbie 1 10-24-2004 11:02 AM
RPM database, help! Thetargos Fedora 2 07-30-2004 05:47 PM
adding a specific shared library file to the rpm database ravalox Linux - Software 0 06-13-2004 01:18 AM
rpm database palmmjsg23 Linux - General 6 03-09-2004 11:58 PM
RH rpm database gfyspf Red Hat 1 09-17-2003 10:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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