Reply to comment

apt-cache search only

apt-cache search only searches in package descriptions.
To search in the files provided by a package, use:

apt-file search libc.so

[This is the case for apt on Debian and Ubuntu. I'm
assuming that apt-cache's behaviour is not changed in
apt-rpm]

Reply

Please refrain from adding URLs to unrelated or commercial websites. This site is moderated and comments with inappropriate links are rejected. Thank you for your understanding.
The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options