[opensuse] Package manager for command line?
Hello, What is the "official" command line tool to install packages on suse? I know there are apt, smart, zypper and maybe even more. But I'd like to know which one is the "official" tool that is installed by default on every suse system. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, Sep 7, 2008 at 10:20, Josef Wolf <jw@raven.inka.de> wrote:
Hello,
What is the "official" command line tool to install packages on suse?
I know there are apt, smart, zypper and maybe even more. But I'd like to know which one is the "official" tool that is installed by default on every suse system. rpm I guess
ne... -- Registered Linux User # 125653 (http://counter.li.org) Certified: 75% bastard, 42% of which is tard. http://www.thespark.com/bastardtest Now accepting personal mail for GMail invites. A. P. Herbert - "A high-brow is someone who looks at a sausage and thinks of Picasso." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Josef Wolf a écrit :
Hello,
What is the "official" command line tool to install packages on suse?
I know there are apt, smart, zypper and maybe even more. But I'd like to know which one is the "official" tool that is installed by default on every suse system.
to manage already downloaded package, the basic comand line tool is rpm, but better use yast, it works on console, using ncurse. yast, apt, smart and zypper are able to dl packages from the net, rpm is not you can probably call directly the yast module if what you want is use it from a script (but what do you want to do, in the first place?) jdd -- Jean-Daniel Dodin Président du CULTe www.culte.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Thanks for the answer! On Sun, Sep 07, 2008 at 11:58:43AM +0200, jdd sur free wrote:
Josef Wolf a écrit :
What is the "official" command line tool to install packages on suse?
I know there are apt, smart, zypper and maybe even more. But I'd like to know which one is the "official" tool that is installed by default on every suse system.
to manage already downloaded package, the basic comand line tool is rpm.
rpm will not download.
but better use yast, it works on console, using ncurse.
yast is not command line (that is, can't be used from scripts)
yast, apt, smart and zypper are able to dl packages from the net, rpm is not
Can I expect smart or zypper to be installed by default on every suse box? Are they "official" package managers?
you can probably call directly the yast module if what you want is use it from a script (but what do you want to do, in the first place?)
I want to install packages by script. I should have written this in my original mail, sorry. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Thanks for the answer!
On Sun, Sep 07, 2008 at 11:58:43AM +0200, jdd sur free wrote:
Josef Wolf a écrit :
What is the "official" command line tool to install packages on suse?
I know there are apt, smart, zypper and maybe even more. But I'd like to know which one is the "official" tool that is installed by default on every suse system.
to manage already downloaded package, the basic comand line tool is rpm.
rpm will not download. Maybe yours cannot, but mine does. You need to specify the full path to
On Sun, Sep 7, 2008 at 11:16, Josef Wolf <jw@raven.inka.de> wrote: 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... Name : acetoneiso2 Relocations: (not relocatable) Version : 2.0.2 Vendor: openSUSE Build Service Release : 1.1 Build Date: Tue 22 Jul 2008 22:48:03 BST Install Date: (not installed) Build Host: build13 Group : System/GUI/KDE Source RPM: acetoneiso2-2.0.2-1.1.src.rpm Size : 910840 License: GPL v3 Signature : DSA/SHA1, Tue 22 Jul 2008 22:47:16 BST, Key ID 58d8ff412e1efa87 URL : http://www.acetoneteam.org Summary : A complete software to manage CD/DVD images rich of features Description : A complete software to manage CD/DVD images rich of features. In example it can Mount typical proprietary images formats of the windows world and do plenty of other things. Distribution: KDE:KDE4:Community / openSUSE_11.0_KDE4_Factory_Desktop
but better use yast, it works on console, using ncurse.
yast is not command line (that is, can't be used from scripts)
yast, apt, smart and zypper are able to dl packages from the net, rpm is not
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. What you need to do is look into whether there are libraries that provide the functions you need and use those.
you can probably call directly the yast module if what you want is use it from a script (but what do you want to do, in the first place?)
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. You should also look into yum.
ne.. -- Registered Linux User # 125653 (http://counter.li.org) Now accepting personal mail for GMail invites. Clifford Stoll - "The Internet is a telephone system that's gotten uppity." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
On Sun, Sep 7, 2008 at 14:37, Josef Wolf <jw@raven.inka.de> wrote:
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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2008-09-07 at 12:16 +0200, Josef Wolf wrote:
rpm will not download.
Yes, it will :-)
yast, apt, smart and zypper are able to dl packages from the net, rpm is not
Can I expect smart or zypper to be installed by default on every suse box? Are they "official" package managers?
zypper is official, meaning it is maintained be suse. But I do not know if it is installed always, the main installer is Yast. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIw7NutTMYHG2NR9URAv6kAJwOZbSTtkvfCu1JW8NZJtzzNksp0QCeP+te aL6NhMZzYaf1MnmqspQlWjo= =kNWu -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, Sep 07, 2008 at 12:56:35PM +0200, Carlos E. R. wrote:
zypper is official, meaning it is maintained be suse. But I do not know if it is installed always, the main installer is Yast.
Can yast be used non-interactive? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2008-09-07 at 15:38 +0200, Josef Wolf wrote:
On Sun, Sep 07, 2008 at 12:56:35PM +0200, Carlos E. R. wrote:
zypper is official, meaning it is maintained be suse. But I do not know if it is installed always, the main installer is Yast.
Can yast be used non-interactive?
I don't think so, it is not designed for such use. Zypper is. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIw/U5tTMYHG2NR9URAropAJ0bYuq/6ZSZTGh4gfE7/I+zAkxN3QCfV915 FF0/ZakXlCxDZTJZwR6gPRE= =p8m7 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, Sep 07, 2008 at 05:37:15PM +0200, Carlos E. R. wrote:
Can yast be used non-interactive? I don't think so, it is not designed for such use. Zypper is.
Yes, I just noticed yast will fall back into interactive mode if some problem occurs. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Josef Wolf wrote:
Hello,
What is the "official" command line tool to install packages on suse?
I know there are apt, smart, zypper and maybe even more. But I'd like to know which one is the "official" tool that is installed by default on every suse system.
Last I heard, rpm was still there. -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, Sep 07, 2008 at 07:42:16AM -0400, James Knott wrote:
What is the "official" command line tool to install packages on suse?
I know there are apt, smart, zypper and maybe even more. But I'd like to know which one is the "official" tool that is installed by default on every suse system.
Last I heard, rpm was still there.
Will rpm manage multiple repositories and automatically resolve and install all package dependencies for me? What I am looking for is something like apt. I know there is apt for suse, but AFAIK, this is not officially supported and one can not expect that it is available on every suse install. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Josef Wolf a écrit :
On Sun, Sep 07, 2008 at 07:42:16AM -0400, James Knott wrote:
What is the "official" command line tool to install packages on suse?
I know there are apt, smart, zypper and maybe even more. But I'd like to know which one is the "official" tool that is installed by default on every suse system.
Last I heard, rpm was still there.
Will rpm manage multiple repositories and automatically resolve and install all package dependencies for me? What I am looking for is something like apt. I know there is apt for suse, but AFAIK, this is not officially supported and one can not expect that it is available on every suse install.
may be this is what you look for: http://www.novell.com/coolsolutions/trench/15408.html jdd -- Jean-Daniel Dodin Président du CULTe www.culte.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, Sep 7, 2008 at 14:22, Josef Wolf <jw@raven.inka.de> wrote:
On Sun, Sep 07, 2008 at 07:42:16AM -0400, James Knott wrote:
What is the "official" command line tool to install packages on suse?
I know there are apt, smart, zypper and maybe even more. But I'd like to know which one is the "official" tool that is installed by default on every suse system.
Last I heard, rpm was still there.
Will rpm manage multiple repositories and automatically resolve and install all package dependencies for me? What I am looking for is something like apt. I know there is apt for suse, but AFAIK, this is not officially supported and one can not expect that it is available on every suse install. No, that is not the purpose of rpm but it is the only one guaranteed to be on every SUSE install. You will need to investigate how you are going script this. Zypper might be on all recent SUSE installs but that is not guaranteed.
ne... -- Registered Linux User # 125653 (http://counter.li.org) Now accepting personal mail for GMail invites. Marcel Marceau - "Never get a mime talking. He won't stop." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
2008/9/7 Josef Wolf <jw@raven.inka.de>:
Will rpm manage multiple repositories and automatically resolve and install all package dependencies for me? What I am looking for is something like apt. I know there is apt for suse, but AFAIK, this is not officially supported and one can not expect that it is available on every suse install.
zypper is what you want. It is the official command line frontend to the openSUSE package management system. It is always installed by default, even in the minimal install. It was not available prior to openSUSE 10.2 though. -- Benjamin Weber -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, Sep 07, 2008 at 02:49:50PM +0100, Benji Weber wrote:
2008/9/7 Josef Wolf <jw@raven.inka.de>:
Will rpm manage multiple repositories and automatically resolve and install all package dependencies for me? What I am looking for is something like apt. I know there is apt for suse, but AFAIK, this is not officially supported and one can not expect that it is available on every suse install.
zypper is what you want. It is the official command line frontend to the openSUSE package management system. It is always installed by default, even in the minimal install.
Thanks Benji, this is exactly what I wanted to know.
It was not available prior to openSUSE 10.2 though.
10.2-boxes need upgrades anyway, so I'm OK with that. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 07 September 2008 10:51:15 am Josef Wolf wrote:
On Sun, Sep 07, 2008 at 02:49:50PM +0100, Benji Weber wrote:
2008/9/7 Josef Wolf <jw@raven.inka.de>:
Will rpm manage multiple repositories and automatically resolve and install all package dependencies for me? What I am looking for is something like apt. I know there is apt for suse, but AFAIK, this is not officially supported and one can not expect that it is available on every suse install.
zypper is what you want. It is the official command line frontend to the openSUSE package management system. It is always installed by default, even in the minimal install.
Thanks Benji, this is exactly what I wanted to know.
It was not available prior to openSUSE 10.2 though.
10.2-boxes need upgrades anyway, so I'm OK with that.
Josef, check man pages for options that you will use. Basic install, update, remove options are the same since begin, some other could be added, removed or changed between 10.2, 10.3 and 11.0. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Sonntag 07 September 2008 11:20:39 schrieb Josef Wolf:
Hello,
What is the "official" command line tool to install packages on suse?
I know there are apt, smart, zypper and maybe even more. But I'd like to know which one is the "official" tool that is installed by default on every suse system.
yast -i <package> installs a package with dependencies. It uses of cause known repositories from your system. -- Frank Fiene / IT-Services Fon: +49 2526 29-6200 Fax: +49 2526 29-16-6200 mailto: ffiene@veka.com www.veka.com VEKA AG Dieselstr. 8 48324 Sendenhorst Deutschland/Germany Vorstand: Andreas Hartleif (Vorsitzender), Dr. Andreas W. Hillebrand Bonifatius Eichwald, Elke Hartleif, Dr. Werner Schuler Vorsitzender des Aufsichtsrates: Heinrich Laumann HRB 8282 AG Münster -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, Sep 7, 2008 at 9:57 PM, Frank Fiene <ffiene@veka.com> wrote:
Am Sonntag 07 September 2008 11:20:39 schrieb Josef Wolf:
Hello,
What is the "official" command line tool to install packages on suse?
I know there are apt, smart, zypper and maybe even more. But I'd like to know which one is the "official" tool that is installed by default on every suse system.
For me besides yast, zypper is enough. Please read it on http://en.opensuse.org/Zypper/Usage regards, medwinz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (9)
-
Benji Weber
-
Carlos E. R.
-
Frank Fiene
-
James Knott
-
jdd sur free
-
Josef Wolf
-
medwinz
-
ne...
-
Rajko M.