习惯于在字符下面
解决问题,在用习惯了
yum的情况下改投SuSE的yast总觉得有些慢,处理起来让我很是着急。
yast的
界面做的很好,也很详细,但是一定程度上加大了使用的繁复性,对于我等习惯了CLI的情况下,还是有些难于接受。
开始的时候用了yast -i
安装一些已经知道的包名。发现还可以。但是当我只知道一点关键字,不知道完整包名的时候,让我感觉yast的包的查询不是很便捷。还好看了一下SuSE的
官方文档reference,知道了这个
命令zypper。
引用:
ha02:~ # zypper --help
Options:
--help, -h Help
--version, -V Output the version number
--verbose, -v Increase verbosity
--terse, -t Terse output for machine consumption
--table-style, -s Table style (integer)
--rug-compatible, -r Turn on rug compatibility
--non-interactive Don't ask anything, use default answers automatically. (under development)
Commands:
help Help
shell, sh Accept multiple commands at once
install, in Install packages or resolvables
remove, rm Remove packages or resolvables
search, se Search for packages matching a pattern
service-list, sl List services, also called installation sources
service-add, sa Add a new service
service-delete, sd Delete a service
service-rename, sr Rename a service
refresh, ref Refresh all installation sources
patch-check, pchk Check for patches
patches, pch List patches
list-updates, lu List updates
update, up Update packages
info, if Show full information for packages
patch-info Show full information for patches