On Fri, 25 Jul 2003, dfox wrote:

> It takes some intuition, I'll admit, to find the right libraries that
> support a particular thing. I seem to remember there was a magic trick
> to find the RPM that provides a specific file -- specifically, one that
> *isn't* on your system. A lot of times it is confusing what to install.  
> For instance, I was attempting to compile something recently that needed
> /usr/bin/gtk-config and couldn't track down the rpm that provides that
> particular file. 'urpmi gtk' isn't very helpful: it reminds me of my job
> trying to locate a specific John Smith :).

The command you're looking for is urpmf.

http://www.urpmi.org/en/man-html/urpmf.php

It will consider every RPM in your entire urpmi database, whether that RPM
is already installed, or merely available at one of your configured urpmi
sources. On my 9.0 system:

[EMAIL PROTECTED]:~$ urpmf /usr/bin/gtk-config
libgtk+1.2-devel:/usr/bin/gtk-config

The urpm* family of commands is IMHO the best of Mandrake's innovations.

HTH!

-- 
Bill Mullen   [EMAIL PROTECTED]   MA, USA   RLU #270075   MDK 8.1 & 9.0
"There are two kinds of people in the world, those who believe there are
two kinds of people in the world and those who don't." - Robert Benchley

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

Reply via email to