Re: iso: info on determining in what packages a command might be found?

[email protected] Mon, 4 Aug 2003 15:29:13 -0400
Newsgroups gmane.linux.redhat.migration
Message-ID <OF674B9BC9.844F54A6-ON85256D78.0067F925-85256D78.006B3884@uscmail.dcn>
Larry,

The first thing you want to do is install the rpmdb-redhat rpm for your 
system.  After doing so, you can issue a command such as:

rpm -q --redhatprovides /usr/bin/compress

which on Red Hat Advanced Server returns:

ncompress-4.2.4-24

James

James S. Martin, RHCE
Contractor
Administrative Office of the United States Courts
Washington, DC
(202) 502-2394




"Larry W. Virden" <[email protected]>
Sent by: [email protected]
08/04/2003 02:40 PM

 
        To:     [email protected]
        cc: 
        Subject:        iso: info on determining in what packages a command might be found?


I'm working on a project to port an application from sparc solaris to 
intel
redhat linux.

One of the shell commands that make up a part of this application invokes
the command 'compress' on solaris.  I know there are comperable commands 
like
gzip or bzip2 - but since the application is going to continue to run on
both platforms, I need to invoke compress on linux.

To do that, I need to _find_ compress.

What resources are available to 'look up' to see what red hat package 
contains
compress - or any other command, for that matter?
-- 
Tcl - The glue of a new generation.  <URL: http://wiki.tcl.tk/ >
Larry W. Virden <mailto:[email protected]> <URL: http://www.purl.org/NET/lvirden/>
Even if explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.
-><-


_______________________________________________
Redhat-migration-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-migration-list