7

The Debian/Ubuntu package search pages are very useful to look up what version of a program is available in what distribution series, how programs are split along multiple packages etc.

For example I want to investigate what version of g++ is available in current Ubuntu:

http://packages.ubuntu.com/search?keywords=g%2B%2B&searchon=names&suite=maverick&section=all

I directly see that the default version is 4.4.4, also available is 4.5.1. In Natty it is 4.5.1:

http://packages.ubuntu.com/search?keywords=g%2B%2B&searchon=names&suite=natty&section=all

Via http://packages.ubuntu.com/natty/g++ you can browse coveniently through the dependencies and directly see which architectures are supported.

You can also search the contents of the packages.

For Fedora I've found

https://admin.fedoraproject.org/pkgdb

Searching for g++ returns nothing:

https://admin.fedoraproject.org/pkgdb/acls/list/g++

Ok, perhaps it is split differently:

https://admin.fedoraproject.org/pkgdb/acls/list/?searchwords=gcc

This yields results and it seems that there is only one big gcc package which includes g++:

https://admin.fedoraproject.org/pkgdb/acls/name/gcc

But this is not true. Using yum search on a Fedora 14 system yields:

  gcc-c++

(which includes g++)

Without access to an actual Fedora system, do I really have to somehow expect this and browse down into the package git tree to get the same information? I mean like this:

http://pkgs.fedoraproject.org/gitweb/?p=gcc.git;a=blob;f=gcc.spec;h=683faf0cb3d528bd53fe6a4024fda3e84cc986d0;hb=HEAD

(and then search for '%package' ?)

The https://admin.fedoraproject.org/pkgdb/acls/name/gcc shows me that a gcc package is available in Fedora 13 and 14 but it does not show:

  • the dependencies
  • the actual versions
  • the architectures
  • sub-packages

Ok, I can see the versions via going to https://admin.fedoraproject.org/updates/gcc

Thus my question: What is the Fedora equivalent to the Debian/Ubuntu package search pages?

What do you use to look similar information up?

And what about getting this kind of information for other rpm based distros like Cent OS or RHEL?

2

The Fedora PkgDB does have a search syntax so you could search for builds with /usr/bin/g++ in it by searching for file:/usr/bin/g++ and click Builds. Click on the blue (i) for more details. The GCC package has several sub-packages, as described in the gcc.spec file you showed above, which has added to the confusion.

  • Does not work form. Just tried file:/usr/bin/g++ on admin.fedoraproject.org/pkgdb, but got a 500 Internal Error. Is there an alternative that is more reliable? – Toon Verstraelen Sep 17 '12 at 19:11
  • Looks like the Fedora Pkgdb is currently broken. That's valid syntax, according to its own docs. – jsbillings Sep 18 '12 at 15:21
  • Currently, it just returns 0 packages when using file:/usr/bin/g++. And I can't find any documentation on the supported search syntax of packagedb. The only linked documentation is about deploying and configuring a packagedb instance ... – maxschlepzig Mar 15 '16 at 9:47
  • Surprisingly, a 5 year old answer about a web page is no longer accurate. Sorry about that. – jsbillings Mar 15 '16 at 11:14
5

The Fedora package search application is available at: http://apps.fedoraproject.org/packages

4

I use http://koji.fedoraproject.org

I hadn't seen PkgDB before, so I can't say much about it. Koji works well but the only caveat is that it shows packages that have been built and they aren't necessarily in the repository yet.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.