zypper は yum や apt や pacman よりも好印象
openSUSE-12.2(Stable)-KDEにデスクトップは移行して24時間ほどが経ちました。さて、次第にYaSTが面倒くさく感じられて来たので zypper を使ってみる事にしました。
とりあえず .zshrc に alias zypper="sudo zypper" とかお約束を入れておいた。それ以前にwheelグループを有効に扱える様にvisudoしたり/etc/group編集したりは既にしてある。
さて、さっそくzypperしてみる。
検索 / zypper (se|search) keyword
% zypper se git リポジトリのデータを読み込んでいます... インストール済みのパッケージを読み込んでいます... S | 名前 | 概要 | 種類 --+----------------------------+----------------------------------------------------------+----------------- | cgit | A web frontend for git repositories | パッケージ | cgit | A web frontend for git repositories | ソースパッケージ | git | 高速でスケーラブルな分散型リビジョンコントロールシステム | パッケージ | git | 高速でスケーラブルな分散型リビジョンコントロールシステム | ソースパッケージ | git-arch | Git tools for importing Arch repositories | パッケージ i | git-core | git 中枢ツール | パッケージ | git-cvs | CVS リポジトリから git への取り込みツール | パッケージ | git-daemon | git リポジトリ向けのシンプルなサーバ | パッケージ i | git-email | 電子メール送信用 git ツール | パッケージ i | git-gui | 汎用 git 操作向けグラフィカルツール | パッケージ | git-remote-helpers | Python package for remote helper scripts | パッケージ | git-svn | Subversion リポジトリから git への取り込みツール | パッケージ i | git-web | Git Web インタフェース | パッケージ | gitg | Git リポジトリビューア | パッケージ | gitg-lang | gitg 向け言語パッケージ | パッケージ i | gitk | Git リビジョンツリー可視化ツール | パッケージ | glade-catalog-gitg | Git repository viewer -- Catalog for Glade | パッケージ | hg-git | Mercurial Plugin for Communicating with Git Servers | パッケージ | libgit2-0 | C git library | パッケージ | libgit2-devel | C git library | パッケージ | libgitg-1_0-0 | Git リポジトリビューア -- ライブラリ | パッケージ | libgitg-devel | Git repository viewer -- Development Files | パッケージ | perl-Algorithm-CheckDigits | Perl extension to generate and test check digits | パッケージ | perl-Config-GitLike | Git-compatible config file parsing | パッケージ | python-GitPython | Python Git Library | パッケージ | python-git-review | Tool to submit code to Gerrit | パッケージ | python-git-review | Tool to submit code to Gerrit | ソースパッケージ | python-gitdb | Git Object Database | パッケージ | qgit | Graphical Git Repository Viewer | パッケージ | stgit | スタック化 GIT - ソースコード管理ツール | パッケージ | vim-plugin-gitdiff | Show git diff in a split window | パッケージ
ユーザー指向で綺麗に表示されただけで感動した件。
情報 / zypper (if|info) package_name
% zypper if git リポジトリのデータを読み込んでいます... インストール済みのパッケージを読み込んでいます... パッケージ git に関する情報: リポジトリ: openSUSE-12.2-Update 名前: git バージョン: 1.7.10.4-2.4.1 アーキテクチャ: x86_64 製造元: openSUSE インストール済み: いいえ (N) 状態: 未インストール インストール後のサイズ: 2.5 KiB 概要: 高速でスケーラブルな分散型リビジョンコントロールシステム 説明: Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. This package itself only provides the README of git but with the packages it requires, it brings you a complete Git environment including GTK and email interfaces and tools for importing source code repositories from other revision control systems such as subversion,
導入 / zypper (in|install) package_name
% zypper in git リポジトリのデータを読み込んでいます... インストール済みのパッケージを読み込んでいます... パッケージの依存関係を解決しています... 以下の新しいパッケージをインストールします: cvsps git git-cvs git-svn perl-Clone perl-DBD-SQLite perl-DBI perl-MLDBM perl-Net-Daemon perl-Params-Util perl-PlRPC perl-SQL-Statement subversion-perl 以下の推奨パッケージを自動的に選択しました: git-cvs git-svn perl-Clone perl-MLDBM perl-Net-Daemon perl-PlRPC perl-SQL-Statement 以下のパッケージが提案されていますが、インストールを行ないません: git-daemon 13 個のパッケージをインストールします. 全ダウンロードサイズ: 2.5 MiB この操作を行なうには、追加で 8.4 MiB の容量が必要です。 続行しますか? [y/n/?] (y): パッケージ perl-Net-Daemon-0.48-6.1.1.noarch を取得しています (1/13), 42.4 KiB (展開後 96.8 KiB) 取得しています: perl-Net-Daemon-0.48-6.1.1.noarch.rpm ................................................[完了] パッケージ cvsps-2.1-176.1.2.x86_64 を取得しています (2/13), 54.8 KiB (展開後 124.6 KiB) 取得しています: cvsps-2.1-176.1.2.x86_64.rpm .........................................................[完了] パッケージ perl-Clone-0.31-19.1.2.x86_64 を取得しています (3/13), 13.3 KiB (展開後 19.0 KiB) 取得しています: perl-Clone-0.31-19.1.2.x86_64.rpm ....................................................[完了] パッケージ perl-DBI-1.617-2.1.2.x86_64 を取得しています (4/13), 750.1 KiB (展開後 2.0 MiB) 取得しています: perl-DBI-1.617-2.1.2.x86_64.rpm ......................................................[完了] パッケージ perl-MLDBM-2.04-15.1.1.x86_64 を取得しています (5/13), 19.2 KiB (展開後 29.2 KiB) 取得しています: perl-MLDBM-2.04-15.1.1.x86_64.rpm ....................................................[完了] パッケージ perl-Params-Util-1.07-2.1.2.x86_64 を取得しています (6/13), 35.8 KiB (展開後 88.3 KiB) 取得しています: perl-Params-Util-1.07-2.1.2.x86_64.rpm ...............................................[完了] パッケージ perl-PlRPC-0.2020-17.1.1.x86_64 を取得しています (7/13), 32.4 KiB (展開後 66.8 KiB) 取得しています: perl-PlRPC-0.2020-17.1.1.x86_64.rpm ..................................................[完了] パッケージ perl-DBD-SQLite-1.35-3.1.2.x86_64 を取得しています (8/13), 396.0 KiB (展開後 933.1 KiB) 取得しています: perl-DBD-SQLite-1.35-3.1.2.x86_64.rpm ................................................[完了] パッケージ perl-SQL-Statement-1.33-6.1.1.noarch を取得しています (9/13), 181.2 KiB (展開後 453.4 KiB) 取得しています: perl-SQL-Statement-1.33-6.1.1.noarch.rpm .............................................[完了] パッケージ git-1.7.10.4-2.4.1.x86_64 を取得しています (10/13), 37.7 KiB (展開後 2.5 KiB) 取得しています: git-1.7.10.4-2.4.1.x86_64.rpm ........................................................[完了] パッケージ subversion-perl-1.7.7-4.4.1.x86_64 を取得しています (11/13), 775.2 KiB (展開後 4.1 MiB) 取得しています: subversion-perl-1.7.7-4.4.1.x86_64.rpm ...................................[完了 (2.5 MiB/s)] パッケージ git-cvs-1.7.10.4-2.4.1.x86_64 を取得しています (12/13), 102.6 KiB (展開後 279.3 KiB) 取得しています: git-cvs-1.7.10.4-2.4.1.x86_64.rpm ....................................................[完了] パッケージ git-svn-1.7.10.4-2.4.1.x86_64 を取得しています (13/13), 117.8 KiB (展開後 301.2 KiB) 取得しています: git-svn-1.7.10.4-2.4.1.x86_64.rpm ....................................................[完了] perl-Net-Daemon-0.48-6.1.1 をインストールしています ..................................................[完了] cvsps-2.1-176.1.2 をインストールしています ...........................................................[完了] perl-Clone-0.31-19.1.2 をインストールしています ......................................................[完了] perl-DBI-1.617-2.1.2 をインストールしています ........................................................[完了] perl-MLDBM-2.04-15.1.1 をインストールしています ......................................................[完了] perl-Params-Util-1.07-2.1.2 をインストールしています .................................................[完了] perl-PlRPC-0.2020-17.1.1 をインストールしています ....................................................[完了] perl-DBD-SQLite-1.35-3.1.2 をインストールしています ..................................................[完了] perl-SQL-Statement-1.33-6.1.1 をインストールしています ...............................................[完了] git-1.7.10.4-2.4.1 をインストールしています ..........................................................[完了] subversion-perl-1.7.7-4.4.1 をインストールしています .................................................[完了] git-cvs-1.7.10.4-2.4.1 をインストールしています ......................................................[完了] git-svn-1.7.10.4-2.4.1 をインストールしています ......................................................[完了]
libzyppにはやや動作にもたつきを感じるものの、読み易く分かり易い表示やオプションにはとても好印象。