Click to See Complete Forum and Search --> : RPM database


Quarx
10-21-2002, 11:48 AM
Running Red Hat 7.1 Gnome.

1) What's the name of the file that logs all the installed RPMs?

2) I installed the Red Hat rpm database from the CD & don't know how to access it. First off, I don't have the net a home, therefore, to have a copy of the RPM Database locally would be a luxury. This is what I thought I was doing when I installed that 30meg beasted described as "a copy of the Red Hat Linux 7.1 RPM database". Thus, when I tried to used both Gnome & Xterm style rpmfind & rpmdb (man-pages, /usr/doc, what else?), I ended up here asking this question.

Please don't tell me rpmfind only works for internet configurations. That would move Red Hat, that much closer to the Microsoft (did I just say that?) side of Linux.

Any Love for Ignorant Newbies? ;)

cowanrl
10-21-2002, 12:36 PM
If you just want to see a list of the rpm packages installed on your computer, just execute:

rpm -qa

from the command line. The list is usually very long so I either do:

rpm -qa | less

to pipe it through less or:

rpm -qa > rpm.txt

to send the output to a text file, then look at the text file.

If you are looking for a list of all rpms that are available for RH 7.1, I don't know of a command that will give you that. You may be able to get that from Red Hat's web site.