标题:SUSE下与RHEL下yum相似的RPM包管理工具zypper 出处:刘佳的技术日志、博客 时间:Thu, 10 Apr 2008 22:10:08 +0000 作者:kook 地址:http://www.52zhe.cn/read.php/174.htm 内容: 习惯于在字符下面解决问题,在用习惯了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 Generated by Bo-blog 2.1.0