Results 1 to 6 of 6

Thread: How to find the installed package that includes a certain file/program?

  1. #1
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Question How to find the installed package that includes a certain file/program?

    Say for example I want to find the package that "nm-applet" comes in. If I do "apt-cache search nm-applet" it doesn't return anything, because if I understand it correctly, "apt-cache search" only searches package names and descriptions, not installed files. Is there some easy way to find out which installed package a particular file/program comes in?

    Thanks for any help.

  2. #2
    Join Date
    Dec 2005
    Location
    Texas
    Beans
    40

    Re: How to find the installed package that includes a certain file/program?

    Try visiting this page:

    http://packages.ubuntu.com/

  3. #3
    Join Date
    Jun 2008
    Beans
    30
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to find the installed package that includes a certain file/program?

    i always use google...

  4. #4
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: How to find the installed package that includes a certain file/program?

    Quote Originally Posted by owlgorithm View Post
    Try visiting this page:

    http://packages.ubuntu.com/
    Thanks, I forgot about searching the package archives. Sure would be more convenient though if there was a way to search the installed packages on my computer for the file/program I'm after. The information is there, as even Synaptic shows the installed files for a package, but there's no way to search through all of them. Thanks for providing a viable solution though.

  5. #5
    brian_p is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Apr 2008
    Location
    UK
    Beans
    1,622

    Re: How to find the installed package that includes a certain file/program?

    Quote Originally Posted by caljohnsmith View Post
    Say for example I want to find the package that "nm-applet" comes in. If I do "apt-cache search nm-applet" it doesn't return anything, because if I understand it correctly, "apt-cache search" only searches package names and descriptions, not installed files. Is there some easy way to find out which installed package a particular file/program comes in?
    Code:
    dpkg -S nm-applet
    The apt-file package for installed and non-installed files.
    Brian.

  6. #6
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: How to find the installed package that includes a certain file/program?

    Quote Originally Posted by brian_p View Post
    Code:
    dpkg -S nm-applet
    The apt-file package for installed and non-installed files.
    Thanks a bunch Brian, those are exactly the type of commands I was looking for.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •