<マシンのRPMパッケージインストール状況表示>
#rpm
<RPMパッケージの情報表示>
#rpm
実行例)
[root@localhost ~]# rpm -qip vnc-4_1_2-x86_linux.rpm
Name : vnc Relocations: (not relocatable)
Version : 4.1.2 Vendor: RealVNC Ltd
Release : 1 Build Date: 2006年05月13日 01時53分14秒
Install Date: (not installed) Build Host: plum.sturton.local
Group : User Interface/X Source RPM: vnc-4.1.2-1.src.rpm
Size : 3827439 License: GPL
Signature : (none)
URL :
http://www.realvnc.com/
Summary : リモートディスプレイシステム
Description :
Virtual Network Computing (VNC) is a remote display system which
allows you to view a computing 'desktop' environment not only on the
machine where it is running, but from anywhere on the Internet and
from a wide variety of machine architectures. This package contains a
client which will allow you to connect to other desktops running a VNC
server.
<RPMパッケージ内のファイル内容表示>
#rpm
実行例)
[root@localhost ~]# rpm -qlp vnc-4_1_2-x86_linux.rpm
/usr/X11R6/lib/modules/extensions/vnc.so
/usr/bin/Xvnc
/usr/bin/vncconfig
/usr/bin/vncpasswd
/usr/bin/vncserver
/usr/bin/vncviewer
/usr/bin/x0vncserver
/usr/share/man/man1/Xvnc.1.gz
/usr/share/man/man1/vncconfig.1.gz
/usr/share/man/man1/vncpasswd.1.gz
/usr/share/man/man1/vncserver.1.gz
/usr/share/man/man1/vncviewer.1.gz
/usr/share/man/man1/x0vncserver.1.gz
/usr/share/vnc/classes/index.vnc
/usr/share/vnc/classes/logo150x150.gif
/usr/share/vnc/classes/vncviewer.jar
<ファイルが属するパッケージ表示>
#rpm
=>#rpm -qip RPM_File.rpmの出力結果と同じ
<RPMパッケージのインストール>
#rpm
実行例)
[root@localhost ~]# rpm -ihv --force --oldpackages vnc-4_1_2-x86_linux.rpm
- oldpackages: unknown option
[root@localhost ~]# rpm -ihv --force --oldpackage vnc-4_1_2-x86_linux.rpm
準備中... #################################### [100%]
1:vnc #################################### [100%]
Checking for perl... [OK]
Checking for uname... [OK]
Checking for xauth... [OK]
最終更新:2007年01月30日 23:44