首 页文章中心

Linux学习网

您的位置Linux学习网 > Linux基本应用 > 文章内容

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

作者:佚名  来源:本站整理  发布时间:2008-4-13 8:17:00
习惯于在字符下面解决问题,在用习惯了yum的情况下改投SuSE的yast总觉得有些慢,处理起来让我很是着急。

yast的界面做的很好,也很详细,但是一定程度上加大了使用的繁复性,对于我等习惯了CLI的情况下,还是有些难于接受。

开始的时候用了yast -i安装一些已经知道的包名。发现还可以。但是当我只知道一点关键字,不知道完整包名的时候,让我感觉yast的包的查询不是很便捷。还好看了一下SuSE的官方文档reference,知道了这个命令zypper。
QUOTE:
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
收藏本页到: 365Key | del.icio.us | | 添加到雅虎收藏+
  • 网站帮助 - 广告合作 - 网站地图