Fwd: How can i find out, what files a RPM is provding?

From: David Hoffman (dhoffman2004_at_gmail.com)
Date: 01/31/05

  • Next message: Jorge Fábregas: "Re: Reverse SSH tunneling"
    Date: Mon, 31 Jan 2005 10:12:12 -0600
    To: fedora-list@redhat.com
    
    

    On Mon, 31 Jan 2005 09:03:30 -0700 (GMT-07:00), James Mckenzie
    <jjmckenzie51@earthlink.net> wrote:
    > Don't you have to install an additional .rpm to get this functionality? I had to, just in case the .rpm was not installed on my system. Details are in the archive on installation of the appropriate files.
    >

    I've never heard that. The query function is a standard function of
    RPM. If you have RPM installed (and you should) then you should be
    able to perform any queries of your RPM packages.

    Try rpm -? for additional help.

    rpm -q = query mode
    --whatprovides is an argument to the query mode that tells RPM to look
    at it's own data and tell you which packages provided a particular
    file.

    For example, I want to know what package I installed that provided me
    with libmysqlclient.so.10:

    rpm -q --whatprovides libmysqlclient.so.10

    Then it gives me back an answer:
    MySQL-shared-compat-4.1.9-0

    So any file that is installed from an RPM package can be queried this
    way to let you know which package installed the file.

    I didn't have to add any additional packages to be able to do this
    query -- or at least none that I intentionally added.

    --
    David
    -----------------------------------------------------------------------
    There are only 10 kinds of people in this world,
    those who understand binary, and those who don't.
    -- 
    David
    -----------------------------------------------------------------------
    There are only 10 kinds of people in this world,
    those who understand binary, and those who don't.
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Jorge Fábregas: "Re: Reverse SSH tunneling"

    Relevant Pages

    • Re: Fwd: How can i find out, what files a RPM is provding?
      ... On Mon, 2005-01-31 at 10:12 -0600, David Hoffman wrote: ... If you have RPM installed then you should be ... > able to perform any queries of your RPM packages. ... No extra packages are needed for the query, but the query will also only ...
      (Fedora)
    • Re: [opensuse] Smart failes to upgrade amarok
      ... That's definitely not an RPM for SUSE Linux. ... It looks like YaST somehow understands that it's the same library. ... I think I also had a similar problem with something connected with amarok or at least something I downloaded from videolan.org and raised the query about my problem in the smart mail list. ...
      (SuSE)
    • Re: ntfs
      ... rpm -q kernel-ntfs ... and with that I was able to query and erase the kernel-ntfs ... I innocently tried to install ...
      (comp.os.linux)
    • Re: Fwd: How can i find out, what files a RPM is provding?
      ... >> No extra packages are needed for the query, but the query will also only ... >> work, as has been stated, only with files that were installed from RPM. ... must have been happened via yum - so rpm. ...
      (Fedora)
    • Re: Fwd: How can i find out, what files a RPM is provding?
      ... The query function is a standard function of ... If you have RPM installed then you should be ... >able to perform any queries of your RPM packages. ...
      (Fedora)