LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-15-2006, 08:23 AM   #1
binary_0011
Member
 
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?

Thanks.

Last edited by binary_0011; 04-15-2006 at 09:26 AM.
 
Old 04-15-2006, 09:10 AM   #2
jschiwal
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
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
 
Old 04-15-2006, 09:34 AM   #3
binary_0011
Member
 
Registered: Apr 2006
Location: Singapore
Distribution: RHEL4,FC4,FC5
Posts: 89

Original Poster
Rep: Reputation: 15
thanks.
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:56 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration