On Sun, Sep 7, 2008 at 14:37, Josef Wolf
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. And? At least this way you can vet and control what gets installed
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. Since you seem to be familiar with apt use it. Make sure it gets installed on the systems you are responsible for so that you know it is there. Zypper and yum can also be used.
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? On openSUSE11 and upwards, I think so. You need to find that out yourself.
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? Go find out yourself. You are the one who wants to script this. There are many ways to script stuff.
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. Fine, so go investigate, try out and find out which tool will do the job for you.
You should also look into yum.
Is yum official tool? Is it installed by default? No, yum is not official in that sense, rpm and yast are as has been mentioned numerous times in this thread. Yum is also not installed by default.
ne... -- Registered Linux User # 125653 (http://counter.li.org) Now accepting personal mail for GMail invites. Jane Wagner - "The ability to delude yourself may be an important survival tool." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org