Queries .rpm packages to be installed

  1. Queries .rpm packages to be installed
     problem
  1. Queries use lynx package CD, Installation Checklist
  2. Queries use wireshark package CD-ROM, install manifest
     program
    note .rpm package information in the query is not installed, the command parameters provided should be accurate package file path, specify only the name of the software is not enough. When you specify a file path, more use of the Tab key completion. Advance RHEL6 system to mount CD / media directory in order to use the relevant package file.
     steps
    to achieve this case need to follow the steps below.
    Step one: Use the query lynx package CD-ROM, install manifest
    first CD-ROM device to manually mount the / media directory, query operation.
    Command Operation is as follows:
    [the root @ localhost ~] # umount / dev / CDROM
    [the root @ localhost ~] # Mount / dev / CDROM / Media /
    Mount: Block Device / dev / Write SR0 IS-protected, Read-only Mounting

[the root @ localhost ~] # Mount | tail -1
/ dev / SR0 ON / ISO9660 Media type (RO)
[the root @ localhost ~] # RPM -qpi /media/Packages/lynx-2.8.6-27.el6.x86_64 .rpm
the Name: Lynx Relocations: (not relocatable)
Version: 2.8.6 Vendor: Red Hat, Inc.
Release: 27.el6 Build a Date: 2010 Nian 05 Friday, May 14 23:06:49
Install Date: (not installed ) Build Host: x86-006.build.bos.redhat.com
Group: Applications / Internet Source RPM: Lynx-2.8.6-27.el6.src.rpm
Size: 4,934,856 License: GPLv2
Signature: RSA / 8, 2010 Nian Tuesday, 02 August 17 when 19 minutes 49 seconds, Key ID 199e2f91fd431d51
Packager: Red Hat, Inc. http://bugzilla.redhat.com/bugzilla
the URL of: as http://lynx.isc.org/
the Summary: TEXT-A based Web browser
Description :
Lynx is a text-based Web browser. Lynx does not display any images,
but it does support frames, tables, and most other HTML tags. One
advantage Lynx has over graphical browsers is speed; Lynx starts and
exits quickly and swiftly displays web pages.

[the root @ localhost ~] # RPM -qpl /media/Packages/lynx-2.8.6-27.el6.x86_64.rpm
......
Step two: Use wireshark query CD package, install manifest
command operations as follows :
[root @ localhost ~] # RPM-qpi /media/Packages/wireshark-1.8.10-4.el6.x86_64.rpm
warning: /media/Packages/wireshark-1.8.10-4.el6.x86_64.rpm: V3 RSA Header / SHA256 Signature, Key ID fd431d51: NOKEY
the Name: wireshark Relocations: (not relocatable)
Version: 1.8.10 Vendor: Red Hat, Inc.
Release: 4.el6 Build a Date: 2013 Nian 09 Tuesday, 24 November 16:00 07 minutes 48 seconds
the Install a Date: (not Installed) Build Host: x86-007.build.bos.redhat.com
Group: Applications / Internet Source RPM: wireshark-1.8.10-4.el6.src.rpm
Size: 65,581,264 License : GPL +
Signature: RSA / 8, 2013 Nian 10 Wednesday, May 16 16:27:55, Key ID 199e2f91fd431d51
Packager: Red Hat, Inc. http://bugzilla.redhat.com/bugzilla
the URL of: HTTP: //www.wireshark .org /
the Summary: Network traffic Analyzer
the Description:
Wireshark IS A Network traffic Analyzer for Unix-ISH Operating Systems.

This package lays base for libpcap, a packet capture and filtering
library, contains command-line utilities, contains plugins and
documentation for wireshark. A graphical user interface is packaged
separately to GTK+ package.
[root@localhost ~]# rpm -qpl /media/Packages/wireshark-1.8.10-4.el6.x86_64.rpm
……

Guess you like

Origin blog.csdn.net/weixin_45173557/article/details/91410988