Now, I am confused, so, if I want to install a certain package, so far I
keep typing it out wrong half the time, so I tried "rpm -ivh $(which <name
of file>)", but it dosen't like it.
is there a command say lets say the package "traceroute-1.4a5-23.i386.rpm"
to just say something like "rpm -ivh $(which traceroute)" or something, in
order to get around the "-1.4a5-23.i386.rpm" part of it?
D.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bret Hughes
Sent: Sunday, November 05, 2000 8:59 AM
To: [EMAIL PROTECTED]
Subject: Re: Where is Ping?
Dave Ihnat wrote:
> On Sun, Nov 05, 2000 at 02:42:52AM -0500, kf wrote:
> > You probably know this already, but for others...
> >
> > To find if you have a package (e.g., ping) installed, do one or more of
> > the following:
>
> OK as far as it goes; this tells you where the particular program has been
> installed. To know what package owns the file, run "rpm -q -f <file>".
> Note the entire file path must be given.
That is why I use:
rpm -q -f $(which <file>)
#the $( ) syntax is the same as backticks but I use it so I can nest
statements easily
Bret
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list