how to map a missing file to its containing package?

NoOp glgxg at sbcglobal.net
Sat May 8 16:05:03 UTC 2010


On 05/08/2010 06:38 AM, Robert P. J. Day wrote:
> On Sat, 8 May 2010, Markus Schönhaber wrote:
> 
>> 08.05.2010 15:16, Robert P. J. Day:
>> > ... what is the incantation to map a file to its (uninstalled)
>> > package?  thanks.
>>
>> Among the possibilities are:
>> 1. Go to http://packages.ubuntu.com and search for the named file in the
>> "Search the contents of packages" section.
>> 2. Install apt-file.
> 
>   that's the ticket -- apt-file.  and BTW, that's sort of thing i was
> after when i asked about ubuntu post-install "best practises."  a
> number of people replied with, "install package X."  and while that
> might be useful for someone particularly interested in using X, it's
> not really what i had in mind -- i was after stuff far more
> fundamental.  like apt-file, i can see myself using that frequently as
> i build up my system.
> 
> rday
> 
> p.s.  in the spirit of an exchange program, here's the incantation
> under fedora, in case you ever have need of it:
> 
>   $ yum whatprovides /usr/include/curses.h
>   $ yum whatprovides "*/curses.h"
> 

You might find this of use:
<https://help.ubuntu.com/community/SwitchingToUbuntu/FromLinux/RedHatEnterpriseLinuxAndFedora>
<https://help.ubuntu.com/community/SwitchingToUbuntu/FromLinux>

The entire site has both official & community contributed information
for Ubuntu. The search box is a customized google engine, so the same
search methods apply.

https://help.ubuntu.com/
https://help.ubuntu.com/community





More information about the ubuntu-users mailing list