Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-15-2006, 09:23 AM   #1
Registered: Apr 2006
Location: Singapore
Distribution: RHEL4,FC4,FC5
Posts: 89

Rep: Reputation: 15
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?


Last edited by binary_0011; 04-15-2006 at 10:26 AM.
Old 04-15-2006, 10:10 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
For packages that are installed you can use: rpm -q --info packagename
:~/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:
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 :
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.

Jean-Yves Lefort <>
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:
~/downloads> rpm -qpi --filesbypkg ccscript-
Name : ccscript Relocations: (not relocatable)
Version : 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:
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 :
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
Old 04-15-2006, 10:34 AM   #3
Registered: Apr 2006
Location: Singapore
Distribution: RHEL4,FC4,FC5
Posts: 89

Original Poster
Rep: Reputation: 15


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
rpm query bong.mau Linux - General 2 11-05-2005 11:20 AM
rpm query lucky123 Linux - Newbie 1 04-21-2005 02:41 PM
FC3: RPM won't do anything (query, remove) Jamo Fedora 7 02-15-2005 08:23 AM
Winex does not appear in rpm query jorisb Linux - Software 2 02-03-2004 02:29 PM
rpm query size? lf412 Linux - Newbie 3 03-04-2003 01:52 AM

All times are GMT -5. The time now is 04:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration