Hallo,
aus dem openSUSE Repository habe ich zwei Pakete heruntergeladen. Eines ist ein Binary rpm, das zweite ein Source *.src.rpm. Das Binärpaket hat eine Abhängigkeit zum Sourcepaket.
Yast kann damit schon mal nichts anfangen. In der manpage von zypper sind Sourcepakete zwar erwähnt, aber die Beschreibung ist etwas kryptisch und richtig verstanden habe ich die nicht.
Kann mir jemand erläutern was genau die Optionen bedeuten und was man mit den Paketen machen muss?
Muss ich die Option -d oder -r verwenden :-?
Grüße
Georg
aus dem openSUSE Repository habe ich zwei Pakete heruntergeladen. Eines ist ein Binary rpm, das zweite ein Source *.src.rpm. Das Binärpaket hat eine Abhängigkeit zum Sourcepaket.
Yast kann damit schon mal nichts anfangen. In der manpage von zypper sind Sourcepakete zwar erwähnt, aber die Beschreibung ist etwas kryptisch und richtig verstanden habe ich die nicht.
Kann mir jemand erläutern was genau die Optionen bedeuten und was man mit den Paketen machen muss?
Code:
source-install (si) <name> ...
Install specified source packages and their build dependencies. If the name of a binary package is given, the coresponding source package is looked up and installed instead.
This command will try to find the newest available versions of the source packages and use rpm -i to install them and the packages that are required to build the source pack-
age.
Note that the source packages must be available in repositories you are using. You can check whether a repository contains any source packages using the following command:
$ zypper search -t srcpackage -r <alias|name|#|URI>
-d, --build-deps-only
Install only build dependencies of specified packages.
-D, --no-build-deps
Don't install build dependencies.
-r, --repo <alias|name|#|URI>
Work only with the repository specified by the alias, name, number, or URI. This option can be used multiple times.
--download-only
Only download the packages, do not install.
Examples:
Install build dependencies of dbus-1 source package:
$ zypper si -d dbus-1
Grüße
Georg