Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 1
    yum knows by querying the rpm database. for example Commented Mar 25, 2015 at 18:09
  • @Bratchley Is there a way to get that name from a package url? Commented Mar 25, 2015 at 18:13
  • You should be able to give rpm a full URL to the RPM you're interested in. Example which will give you the package name. One note would be that it uses wget internally but seems to silently suppress errors. Commented Mar 25, 2015 at 18:17
  • 1
    @taliezin that's roughly equivalent to rpm -qa packageName except it's printed in a way that makes it look like yum output. Commented Mar 25, 2015 at 18:18
  • @Bratchley, sorry i saw the link later, but I deleted it. Commented Mar 25, 2015 at 18:25