On Sun, Sep 07, 2008 at 11:42:30AM +0100, ne... wrote:
rpm will not download. Maybe yours cannot, but mine does. You need to specify the full path to the rpm you want to query/install/upgrade and it will download what is needed. eg: [work]$ rpm -qip http://download.opensuse.org/repositories/KDE:/KDE4:/Community/openSUSE_11.0...
But then I will have to manage repositories and their dependencies by myself. This should be done by the package manager. What I am looking for is a command line tool like apt. That is, I can simply say package-management-tool install some-package-name in some script without bothering from which repository to get the package and which packages need to be pulled in addition to satisfy package dependencies. BTW, something like package-management-tool remove some-package-name would be fine, too.
Can I expect smart or zypper to be installed by default on every suse box? Are they "official" package managers? Not smart, but maybe zypper.
Is zypper installed by default?
What you need to do is look into whether there are libraries that provide the functions you need and use those.
Hmm? I do not understand this. Which libraries provide functionality to automatically install packages?
I want to install packages by script. I should have written this in my original mail, sorry. Then if you know their precise location, you can use rpm as the simplest way.
I do not want to care where the package is located. And I do not want to care which packages need to be pulled in addition to satisfy dependencies. That's the job of the package manager.
You should also look into yum.
Is yum official tool? Is it installed by default? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org