Resolve dependencies installing rpm packages

144

If you need to find out what repo package(s) contain a specific file, you can try (e.g.):

yum provides "*/libdnet.so.1"

This uses shell globbing, so "*/" covers the fact that yum will be looking through absolute pathnames. That is necessary. Note it searches your repositories, not just installed packages. For the example above using F17, I get:

libdnet-1.12-8.fc17.i686 : Simple portable interface to lowlevel networking routines
Repo        : fedora
Matched from:
Filename    : /usr/lib/libdnet.so.1



libdnet-1.12-8.fc17.x86_64 : Simple portable interface to lowlevel networking routines
Repo        : fedora
Matched from:
Filename    : /usr/lib64/libdnet.so.1

This one is fairly straightforward, but since this is a filename search, you may often get lots of hits and have to make a considered guess about what it is you are really looking for.

yum provides matches against a number of .rpm field headers, so you do not actually have to search for a specific file (but shell glob syntax always applies; the Provides: field often has stuff in it). E.g., just plain yum provides libdnet works here -- as of course does the more common and straightforward:

yum search libdnet
Share:
144

Related videos on Youtube

Ali
Author by

Ali

Updated on September 18, 2022

Comments

  • Ali
    Ali over 1 year

    I need to use the following font in my android app from where can I get it or what it's name?:

    Eclipse font

    It's used in eclipse xml layout string field.

    • Pratik
      Pratik over 12 years
      find in the eclipse appearance for code font all the other thing and copy that font to asset folder and use in your application
    • Ali
      Ali over 12 years
      I've looked there but didn't find it.
    • Samuel Harmer
      Samuel Harmer over 12 years
      Flag: This question belongs on graphicdesign.stackexchange.com, Q&A for professional graphic designers and non-designers trying to do their own graphic design.
    • Joel Taylor
      Joel Taylor over 10 years
      libsfbpf.so.0 is provided by the daq package provided on the snort website snort.org/snort-downloads
  • Ali
    Ali over 12 years
    Thanks for at least understanding the question. It's not that hard.
  • VicVu
    VicVu over 12 years
    Go to the preferences, go to General > Appearance > Colors and Fonts > java then click the java editor text font. It will tell you.
  • Ali
    Ali over 12 years
    Already did before asking the question didn't find there it show Consolas and its not this one.