Source code

Jump to: navigation, search
There are different ways to get the source code of the openSUSE distribution.


Released versions

The source code is available online.

To request the source in physical form, send an e-mail to sourcedvd@opensuse.org or write to

SUSE Software Solutions Germany GmbH
openSUSE Team
Frankenstraße 146
D-90461 Nuernberg
Germany

to request the source for a specific release of openSUSE on DVD. Please note that we charge $15 or 15 Euros to cover our costs of distribution.

Development releases

Sources for development releases are not distributed via mirrors to reduce the bandwidth and storage on these mirrors.

You can always find the latest sources on the download server.

To request the source in physical form, send an e-mail to sourcedvd@opensuse.org or write to

SUSE Software Solutions Germany GmbH
openSUSE Team
Frankenstraße 146
D-90461 Nuernberg
Germany

to request the source for a specific release of openSUSE on DVD. Please note that we charge $15 or 15 Euros to cover our costs of distribution.

Specific packages

The openSUSE Build Service contains a revision history so that you can download each and every version of software.

You can install the source code for a package in your system with:

zypper si <packagename>

Note that you need to add first the source repository.

Exact source code

To retrieve the exact source code of a single package that is installed on your system, query the package first for it unique source package url:

rpm -q --qf '%{disturl}\n' INSTALLED_PACKAGE_NAME

and you will receive a result of the following form:

obs://build.opensuse.org/PROJECT_NAME/RELEASE_HEX-PACKAGE_NAME

Then, you can use this information to check out the sources with the osc command line command:

osc co -r RELEASE_HEX PROJECT_NAME PACKAGE_NAME

Address change

Any change of contact address needs to be also projected to https://github.com/openSUSE/skelcd-openSUSE/tree/master/skelcd