How to install packages from command line on Suse

2019-03-10 19:05发布

问题:

What is the Suse version of apt-get or yum?

How do I install software packages from the command line?

A fairly intense session of googling suggests that it may be yast or yast2, but no sensible HOWTO of listing and installing packages from the command line seems to exist. (maybe I am looking in the wrong place)

If I am an administrator for a remote Suse server, how do I install packages from the command line? (Not using a GUI and preferably installing from a central repo)

回答1:

zypper

Found a tutorial for you

And official documentation