LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to query rpm on cd? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-query-rpm-on-cd-435388/)

binary_0011 04-15-2006 08:23 AM

how to query rpm on cd?
 
i have a cd with lot of RPMs, how do I query them without installing? I want to know what they do.

for example, on my fedora 5 cd, there are 5 samba rpm. how do i know what each of them does?

Thanks.

jschiwal 04-15-2006 09:10 AM

For packages that are installed you can use: rpm -q --info packagename
example:
Quote:

:~/downloads> rpm -q --info streamtuner
Name : streamtuner Relocations: /opt/gnome
Version : 0.99.99 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Release : 6 Build Date: Mon 12 Sep 2005 09:41:08 PM MDT
Install date: Thu 16 Feb 2006 04:16:16 AM MST Build Host: xenakis.suse.de
Group : Productivity/Networking/Web/Browsers Source RPM: streamtuner-0.99.99-6.src.rpm
Size : 1078427 License: BSD
Signature : DSA/SHA1, Mon 12 Sep 2005 10:14:59 PM MDT, Key ID a84edae89c800aca
Packager : http://www.suse.de/feedback
URL : http://streamtuner.sourceforge.net
Summary : A GUI Interface for Internet Radio Directories
Description :
Streamtuner is a stream directory browser. Through the use of a plug-in
system, it offers an intuitive interface to Internet radio directories,
such as SHOUTcast and Live365.



Authors:
--------
Jean-Yves Lefort <jylefort@brutele.be>
Distribution: SUSE LINUX 10.0 (X86-64)
For information on an uninstalled rpm, from a file you can use "rpm -qpi --filesbypkg <filename>".
For example:
Quote:

~/downloads> rpm -qpi --filesbypkg ccscript-3.0.1.0-2.src.rpm
Name : ccscript Relocations: (not relocatable)
Version : 3.0.1.0 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Release : 2 Build Date: Mon 12 Sep 2005 08:07:49 PM MDT
Install date: (not installed) Build Host: byrd.suse.de
Group : Productivity/Multimedia/Other Source RPM: (none)
Size : 253133 License: GPL
Signature : DSA/SHA1, Mon 12 Sep 2005 08:51:45 PM MDT, Key ID a84edae89c800aca
Packager : http://www.suse.de/feedback
URL : http://www.gnu.org/software/ccscript/
Summary : a GNU Common C++ framework for embedded scripting
Description :
The GNU ccScript package offers a class extensible threaded embedded
scripting engine for use with GNU Common C++. This engine is also used
in GNU Bayonne (the GNU telephony application server package) and other
parts of GNUCOMM (the GNU telephony meta-project). This engine differs
from traditional scripting systems in that it is used to script near
real-time state-event systems through deterministic callback step
execution rather than the linear and non-deterministic fashion of
embedded script systems such as tcl, libguile, etc.
Distribution: SUSE LINUX 10.0 (i586)
ccscript ccscript.spec
ccscript ccscript3-0.1.0.tar.bz2
ccscript includedir.diff
ccscript unixODBC.diff

binary_0011 04-15-2006 09:34 AM

thanks. :) :)


All times are GMT -5. The time now is 11:02 AM.