Linux 如何在 Suse 上从命令行安装软件包

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7158838/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-05 05:51:32  来源:igfitidea点击:

How to install packages from command line on Suse

linuxcommand-lineinstallpackagesuse

提问by Fergie

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

apt-get 或 yum 的 Suse 版本是什么?

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)

一个相当激烈的谷歌搜索会话表明它可能是 yast 或 yast2,但似乎不存在从命令行列出和安装软件包的合理 HOWTO。(也许我找错地方了)

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)

如果我是远程 Suse 服务器的管理员,我该如何从命令行安装软件包?(不使用 GUI,最好从中央仓库安装)