红联首页 凝聚Linux人的力量
菜鸟过关 | 精华文档 | 同城人(交友) | 我与Linux的故事 | Linux新闻 | Linux视频 | Linux人才 | 软件下载 | 大学校园 | English
发新话题
打印

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

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

习惯于在字符下面解决问题,在用习惯了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

TOP

学习了

TOP

发新话题