RPM 是個非常有用的工具, 而且如您所知的, 它具有許多選項功能。 讓您了解這些功能的最好方式, 便是實際介紹幾個範例, 前面我們已經提過安裝與解除安裝的簡單例子, 底下是一些額外的範例:
rpm -Va
rpm -qf /usr/X11R6/bin/xjewel
其結果會得到:
xjewel-1.6-1
rpm -qpi koules-1.2-2.i386.rpm
其結果會得到:
Name : koules Distribution: Red Hat Linux Colgate
Version : 1.2 Vendor: Red Hat Software
Release : 2 Build Date: Mon Sep 02 11:59:12 1996
Install date: (none) Build Host: porky.redhat.com
Group : Games Source RPM: koules-1.2-2.src.rpm
Size : 614939
Summary : SVGAlib action game with multiplayer, network, and sound support
Description :
This arcade-style game is novel in conception and excellent in execution.
No shooting, no blood, no guts, no gore. The play is simple, but you
still must develop skill to play. This version uses SVGAlib to
run on a graphics console.
rpm -qpl koules-1.2-2.i386.rpm
其結果會是:
/usr/doc/koules
/usr/doc/koules/ANNOUNCE
/usr/doc/koules/BUGS
/usr/doc/koules/COMPILE.OS2
/usr/doc/koules/COPYING
/usr/doc/koules/Card
/usr/doc/koules/ChangeLog
/usr/doc/koules/INSTALLATION
/usr/doc/koules/Icon.xpm
/usr/doc/koules/Icon2.xpm
/usr/doc/koules/Koules.FAQ
/usr/doc/koules/Koules.xpm
/usr/doc/koules/README
/usr/doc/koules/TODO
/usr/games/koules
/usr/games/koules.svga
/usr/games/koules.tcl
/usr/man/man6/koules.svga.6
上述只是一些範例, 當您對 RPM 愈加熟悉時, 應該能想出其他更多的創意組合。