Fedora Package Management – What is the Fedora Equivalent to Debian/Ubuntu Package Search?

fedorapackage-management

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?

Best Answer

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.

Related Question