红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > SuSE

SUSE下与RHEL下yum相似的RPM包管理工具zypper

发布时间:2008-04-12 00:41:33来源:红联作者:tvnet
习惯于在字符下面解决问题,在用习惯了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
文章评论

共有 1 条评论

  1. NewYear 于 2008-04-17 16:58:21发表:

    学习了