yumなどでパッケージをインストールした後に展開されたrpmパッケージ内容を確認する方法
例)zshをダウンロードして確かめてみる
「tmp」ディレクトリにzshのrpmファイルをダウンロード
# yum install --downloadonly --downloaddir=/tmp zsh
「tmp」にダウンロードされたrpmファイル名を確認
# ls -l /tmp
-rw-r--r-- 1 root root 2240448 7月 3 14:07 2011 zsh-4.3.10-4.1.el6.x86_64.rpm
zshのrpmファイル内容詳細表示
# rpm -qlp /tmp/zsh-4.3.10-4.1.el6.x86_64.rpm
/bin/zsh
/etc/skel/.zshrc
/etc/zlogin
/etc/zlogout
/etc/zprofile
:
:
/usr/share/zsh/4.3.10/functions/zsh-newuser-install
/usr/share/zsh/4.3.10/functions/zstyle+
/usr/share/zsh/4.3.10/scripts
/usr/share/zsh/4.3.10/scripts/newuser
/usr/share/zsh/site-functions
|