[Howto] Using yum for the openSuse build service on Suse and Fedora Core

software-managementThe openSuse build service is in official alpha state now, and therefore can be used to prdouce software builds for various distributions.

Background information

The openSuse Build Service is described as:

The openSUSE Build Service provides an infrastructure for the open development of future SUSE Linux-based distributions. It gives software developers a web-interface with which to release and publish their software easily and quickly for a broad user audience. Our service provides a complete distribution development platform to create your own Linux distribution based on SUSE Linux. Packages can be built for SUSE Linux on various architectures. Beyond that, it also features services for compiling and packaging software for other Linux distributions like Fedora, Debian/Ubuntu, and many more. Users can easily browse through and download the latest packages. Open interfaces allow external services (e.g. Source Forge) and web pages to interact with the build service and to use its resources.
In an advanced state, our Build Service will be accessible to anybody equipped with user/trust management and will be able to create further build targets (e.g. LSB, Xen images).

From my point of view the most interesting part about the build service at the moment is, besides the interesting software which is already provided, the fact that this software is provided with XML package metadata information. First this means that these software components can be accessed with yum and other XMLpm compatible tools. Second this means that Suse is as well changing over to this type of package description, going away from their yast-only repositories forward to a repository style which can be used by a lot of tools. This gives the user the chance to really choose his or her own favourite tool to completly manage all software on a Suse system. Nice step, Novell, and very sensible also🙂
Additionally there are *.repo files given in the directories, making it very easy to add installation sources to a existing yum setup (see also: How to setup yum in Suse 10.1 and Suse 10.0).

How to use it

First you have to install the GPG key:

rpm --import http://software.opensuse.org/openSUSE-Build-Service.asc

And since the repositories also contain *.repo files, the installation of an additional repository is very, very easy (as long as you do not fear the command-line, of course). I explain it along with an example:

  1. Go to the directory of your choice, for example the icecream directory.
  2. Enter the directory of your distribution, I take here the Fedora Core 5 directory for the example, the procedure is the same on all other directories for the other distributions.
  3. As root, download the *.repo file to your /etc/yum.repos.d/* directory, in the example it would be this file.
  4. Install the software with yum: yum install icecream.

That’s all!

I really have to say: Suse/Novell, it looks like you really try to push Linux to new limits and new possibilities, I really appreciate that.