-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 08 July 2003 07:47 pm, Iain Buchanan wrote: > On Wed, 2003-07-09 at 06:44, Michael Schwendt wrote: > > With the "rpmdb-redhat" package installed, the following > > command-line lists all packages available, no matter whether > > installed or still on CD: > > > > rpm --query --all --dbpath /usr/lib/rpmdb/i386-redhat-linux/redhat/ > > Or just mount a rh cd, and type ls /mnt/cdrom/RedHat/RPMS. Of course > you have to do this once for each cd... Or as someone else mentioned, "whichcd" http://sourceforge.net/projects/whichcd/ Allows you to find a specific package, or if you really want a full list, that's available as well. It supports multiple Red Hat releases (7.x, 8.0, 9). Whichcd searches for a string, so you can say: $ whichcd -v 9 autorun Searching in the RHL9 database. Searching for autorun... CD-2:autorun-3.10-1.i386.rpm SOURCE-CD-1:autorun-3.10-1.src.rpm And if you really want a full listing: $ whichcd -v 9 rpm | more Searching in the RHL9 database. Searching for rpm... CD-1:4Suite-0.11.1-13.i386.rpm CD-1:GConf-1.0.9-10.i386.rpm CD-1:GConf2-2.2.0-1.i386.rpm CD-1:Glide3-20010520-25.i386.rpm CD-1:ImageMagick-5.4.7-10.i386.rpm [...] Before someone asks.. Yes, you can search for just the "rpm" packages. ;) $ whichcd -v 9 ^rpm Searching in the RHL9 database. Searching for ^rpm... CD-1:rpm-4.2-0.69.i386.rpm CD-1:rpm-python-4.2-0.69.i386.rpm CD-2:rpm-build-4.2-0.69.i386.rpm CD-2:rpm-devel-4.2-0.69.i386.rpm CD-3:rpmdb-redhat-9-0.20030313.i386.rpm SOURCE-CD-3:rpm-4.2-0.69.src.rpm SOURCE-CD-3:rpmdb-redhat-9-0.20030313.src.rpm - -- - -Michael pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/ - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE/C3can/07WoAb/SsRAgEWAJ4rv31o5l2P3Yn0pawGh6rHS2X9ngCgq+s/ epThXAUGKFFO4voV2o8QyD4= =cO7G -----END PGP SIGNATURE-----