On Sunday 12 October 2003 10:55 am, Eric Huff wrote:
> Is there any to tell where a particular rpm came from (or where it
> is available now)?  I know i could un install it, and then select
> reinstall and that would tell me, but that's a bit excessive.  Usu i
> need to do this when someone asks me where i got a particular
> program from...
>
>
> Likewise, how would i get the description, etc, for an rpm at the
> cli. For example, if you select a2ps in the add software section,
> you get this info:
>
> ------------
> Name: a2ps
> Version: 4.13b-1mdk
> Size: 2243 KB
> Source: main
> Currently installed version: (none)
>
> Summary: Converts text and other types of files to PostScript(TM)
>
> Description: The a2ps filter converts text and other types of files
> to PostScript(TM). a2ps has pretty-printing capabilities and
> includes support for a wide number of programming languages,
> encodings (ISO Latins, Cyrillic, etc.), and medias.
> -------------
>
> Is there anyway to get that at the cli?  Commands like urpmf
> --description a2ps  kind of help, but only if the name is in the
> description, and it's still only part of the answer.
>
> Thanks,
> eric

$rpm -qi name_of_pakage 
 will give you a lot of information on this subject.  
Make sure you just put the name not the rpm name. For example:

[EMAIL PROTECTED] yankl]$ su
Password:
[EMAIL PROTECTED] yankl]# rpm -qi rpm
Name        : rpm                          Relocations: (not relocateable)
Version     : 4.2                               Vendor: MandrakeSoft
Release     : 19mdk                         Build Date: Thu 09 Oct 2003 
04:06:23 AM EDT
Install Date: Thu 09 Oct 2003 10:38:09 PM EDT      Build Host: 
hp6.mandrakesoft.com
Group       : System/Configuration/Packaging   Source RPM: 
rpm-4.2-19mdk.src.rpm
Size        : 4917558                          License: GPL
Signature   : DSA/SHA1, Thu 09 Oct 2003 05:35:07 AM EDT, Key ID 
e7898ae070771ff3
Packager    : Gwenole Beauchesne <[EMAIL PROTECTED]>
URL         : http://www.rpm.org/
Summary     : The RPM package management system
Description :
RPM is a powerful command line driven package management system capable of
installing, uninstalling, verifying, querying, and updating software packages.
Each software package consists of an archive of files along with information
about the package like its version, a description, etc.

Notice that it contain vendor name.
Try to man rpm and look for query section for more switches.  

-- 
Yankl
Tiny IT guy.
100 % Micro$oft free.
Registered linux users 181086
URL: http://yankele.com
-----------------------
To mess up a Linux box, you need to work at it; to mess up your Windows
box, you just need to work on it.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to