pkginfo equivalent.

Ed Wilts ewilts at ewilts.org
Thu Apr 8 18:06:04 UTC 2004


On Thu, Apr 08, 2004 at 10:10:37AM -0700, a s p a s i a wrote:
> > find /bin -exec rpm -qif {} \; | grep "not owned"
> 
> interesting that the did not give me any output;
> is it possible bec. it assumes that the binaries
> are installed in /bin ?  what if others installed
> in /opt/apps for example?

Yup - you'll have to run the find command for every directory you want
to search in.  You could start in / but then you'd get stuff like /home
too.

> however:
> 
> rpm -qai | more
> 
> showed the 3rd party apps...

Only if they use rpm to install.  There's only 1 rpm database, but if
the 3rd party app uses a custom installer (configure; make) then it
won't show up.

-- 
Ed Wilts, Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program





More information about the redhat-list mailing list