RPM属于二进制源码包:
命名方式:name-VERSION-release.arch.rpm
name:包名
VERSION:major.minor.release
release.arch:
release:release.OS
arch:
x86:i386, i486, i586, i686
x86_64:x64, x86_64, amd64
powerpc:ppc
跟平台无关:noarch
包名:适用于已安装的程序包
包全名:适用于未安装的程序包;格式为name-VERSION-release.arch
命名方式:name-VERSION-release.arch.rpm
name:包名
VERSION:major.minor.release
release.arch:
release:release.OS
arch:
x86:i386, i486, i586, i686
x86_64:x64, x86_64, amd64
powerpc:ppc
跟平台无关:noarch
包名:适用于已安装的程序包
包全名:适用于未安装的程序包;格式为name-VERSION-release.arch
格式:rpm {-q|–query} [select-options] [query-options]
-q 包名:查询安装包状态
[select-options]
-a:所有包
-q 包名:查询安装包状态
[select-options]
-a:所有包
-q:查询安装包状态
[root@localhost ~]# rpm -q openssh openssh-6.6.1p1-22.el7.x86_64
-qa:查询当前系统所有安装包状态
[root@localhost ~]# rpm -qa python-pycurl-7.19.0-17.el7.x86_64 filesystem-3.2-20.el7.x86_64 pth-2.0.7-23.el7.x86_64 linux-firmware-20150904-43.git6ebf5d5.el7.noarch gpgme-1.3.2-5.el7.x86_64 libreport-filesystem-2.1.11-32.el7.centos.x86_64 compat-glibc-2.12-4.el7.centos.x86_64 nss-softokn-freebl-3.16.2.3-13.el7_1.x86_64 libpipeline-1.2.3-3.el7.x86_64 ncurses-libs-5.9-13.20130511.el7.x86_64 libpcap-1.5.3-8.el7.x86_64 pcre-8.32-15.el7.x86_64 shadow-utils-4.1.5.1-18.el7.x86_64 elfutils-libelf-0.163-3.el7.x86_64 policycoreutils-2.2.5-20.el7.x86_64 nss-util-3.19.1-4.el7_1.x86_64 virt-what-1.13-6.el7.x86_64 audit-libs-2.4.1-5.el7.x86_64 libnetfilter_conntrack-1.0.4-2.el7.x86_64 grep-2.20-2.el7.x86_64 kpartx-0.4.9-85.el7.x86_64 elfutils-libs-0.163-3.el7.x86_64 dracut-033-359.el7.x86_64 readline-6.2-9.el7.x86_64 systemd-sysv-219-19.el7.x86_64 pkgconfig-0.27.1-4.el7.x86_64 initscripts-9.49.30-1.el7.x86_64 libgcrypt-1.5.3-12.el7_1.1.x86_64 abrt-2.1.11-36.el7.centos.x86_64 lua-5.1.4-14.el7.x86_64 crontabs-1.11-6.20121102git.el7.noarch mpfr-3.1.1-4.el7.x86_64 abrt-addon-xorg-2.1.11-36.el7.centos.x86_64 libnl3-3.2.21-10.el7.x86_64 dracut-network-033-359.el7.x86_64 file-5.11-31.el7.x86_64 wpa_supplicant-2.0-17.el7_1.x86_64 apr-1.4.8-3.el7.x86_64 subversion-libs-1.7.14-10.el7.x86_64 libgomp-4.8.5-4.el7.x86_64 rsync-3.0.9-17.el7.x86_64 perl-parent-0.225-244.el7.noarch systemd-python-219-19.el7.x86_64 perl-Pod-Escapes-1.04-286.el7.noarch hwdata-0.252-8.1.el7.x86_64 perl-libs-5.16.3-286.el7.x86_64 plymouth-0.8.9-0.24.20140113.el7.centos.x86_64 perl-Scalar-List-Utils-1.27-248.el7.x86_64 libestr-0.1.9-2.el7.x86_64 perl-Time-HiRes-1.9725-3.el7.x86_64 redhat-rpm-config-9.1.0-68.el7.centos.noarch perl-Socket-2.010-3.el7.x86_64 NetworkManager-team-1.0.6-27.el7.x86_64 perl-Pod-Simple-3.28-4.el7.noarch intltool-0.50.2-6.el7.noarch perl-Thread-Queue-3.02-2.el7.noarch kernel-3.10.0-327.el7.x86_64 patch-2.7.1-8.el7.x86_64 tuned-2.5.1-4.el7.noarch elfutils-0.163-3.el7.x86_64 microcode_ctl-2.1-12.el7.x86_64 bzip2-1.0.6-13.el7.x86_64 parted-3.1-23.el7.x86_64 gettext-libs-0.18.2.1-4.el7.x86_64 memstomp-0.1.4-11.el7.x86_64 slang-2.2.4-11.el7.x86_64 rpm-sign-4.11.3-17.el7.x86_64 libtasn1-3.8-2.el7.x86_64 sudo-1.8.6p7-16.el7.x86_64 tcp_wrappers-libs-7.6-77.el7.x86_64 gcc-gfortran-4.8.5-4.el7.x86_64 boost-thread-1.53.0-25.el7.x86_64 xfsprogs-3.2.2-2.el7.x86_64 perl-XML-Parser-2.41-10.el7.x86_64 patchutils-0.3.3-4.el7.x86_64 libgfortran-4.8.5-4.el7.x86_64 rcs-5.9.0-5.el7.x86_64 libgnome-keyring-3.8.0-3.el7.x86_64 swig-2.0.10-4.el7.x86_64 pinentry-0.8.1-14.el7.x86_64 compat-db47-4.7.25-28.el7.x86_64 dwz-0.11-3.el7.x86_64 compat-libgfortran-41-4.1.2-44.el7.x86_64 kmod-libs-20-5.el7.x86_64 compat-libf2c-34-3.4.6-32.el7.x86_64 glibc-devel-2.17-105.el7.x86_64 iwl7265-firmware-22.0.7.0-43.el7.noarch libproxy-0.4.11-8.el7.x86_64 iwl4965-firmware-228.61.2.24-43.el7.noarch coreutils-8.22-15.el7.x86_64 iwl105-firmware-18.168.6.1-43.el7.noarch libblkid-2.23.2-26.el7.x86_64 iwl5150-firmware-8.24.2.2-43.el7.noarch gcc-4.8.5-4.el7.x86_64 gpg-pubkey-f4a80eb5-53a7ff4b cracklib-dicts-2.9.0-11.el7.x86_64 libicu-50.1.2-15.el7.x86_64 libgudev1-219-19.el7.x86_64 libxml2-python-2.9.1-5.el7_1.2.x86_64 automake-1.13.4-3.el7.noarch crash-7.1.2-2.el7.x86_64 libselinux-python-2.2.2-6.el7.x86_64 python-configobj-4.7.2-7.el7.noarch sos-3.2-35.el7.centos.noarch trace-cmd-2.2.2-4.el7.x86_64 mailx-12.5-12.el7_0.x86_64 alsa-lib-1.0.28-2.el7.x86_64 fipscheck-1.4.1-5.el7.x86_64 curl-7.29.0-25.el7.centos.x86_64 satyr-0.13-12.el7.x86_64 xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 dhcp-libs-4.2.5-42.el7.centos.x86_64 libreport-plugin-ureport-2.1.11-32.el7.centos.x86_64 libgcc-4.8.5-4.el7.x86_64 libreport-cli-2.1.11-32.el7.centos.x86_64 setup-2.8.71-6.el7.noarch python-urlgrabber-3.10-7.el7.noarch kernel-headers-3.10.0-327.el7.x86_64 hardlink-1.0-19.el7.x86_64 emacs-filesystem-24.3-18.el7.noarch gnupg2-2.0.22-3.el7.x86_64 gettext-common-devel-0.18.2.1-4.el7.noarch rpm-python-4.11.3-17.el7.x86_64 kbd-misc-1.15.5-11.el7.noarch pygpgme-0.3-9.el7.x86_64 compat-db-headers-4.7.25-28.el7.noarch yum-3.4.3-132.el7.centos.0.1.noarch ncurses-base-5.9-13.20130511.el7.noarch compat-glibc-headers-2.12-4.el7.centos.x86_64 glibc-common-2.17-105.el7.x86_64 kernel-tools-libs-3.10.0-327.el7.x86_64 libstdc++-4.8.5-4.el7.x86_64 numactl-libs-2.0.9-5.el7_1.x86_64 bash-4.2.46-19.el7.x86_64 dmidecode-2.12-9.el7.x86_64 libsepol-2.1.9-3.el7.x86_64 libndp-1.2-4.el7.x86_64 libselinux-2.2.2-6.el7.x86_64 libsemanage-2.1.10-18.el7.x86_64 info-5.1-4.el7.x86_64 avahi-autoipd-0.6.31-15.el7.x86_64 nspr-4.10.8-2.el7_1.x86_64 util-linux-2.23.2-26.el7.x86_64 libdb-5.3.21-19.el7.x86_64 openssh-6.6.1p1-22.el7.x86_64 bzip2-libs-1.0.6-13.el7.x86_64 selinux-policy-3.13.1-60.el7.noarch libuuid-2.23.2-26.el7.x86_64 systemtap-runtime-2.8-10.el7.x86_64 libxml2-2.9.1-5.el7_1.2.x86_64 libmnl-1.0.3-7.el7.x86_64 chkconfig-1.3.61-5.el7.x86_64 iptables-1.4.21-16.el7.x86_64 expat-2.1.0-8.el7.x86_64 qrencode-libs-3.4.1-3.el7.x86_64 augeas-libs-1.4.0-2.el7.x86_64 device-mapper-1.02.107-5.el7.x86_64 gmp-6.0.0-11.el7.x86_64 cryptsetup-libs-1.6.7-1.el7.x86_64 gawk-4.0.2-4.el7.x86_64 kmod-20-5.el7.x86_64 sqlite-3.7.17-8.el7.x86_64 dbus-1.6.12-13.el7.x86_64 libffi-3.0.13-16.el7.x86_64 polkit-0.112-5.el7.x86_64 glib2-2.42.2-5.el7.x86_64 iputils-20121221-7.el7.x86_64 libgpg-error-1.12-3.el7.x86_64 dhclient-4.2.5-42.el7.centos.x86_64 libattr-2.4.46-12.el7.x86_64 abrt-python-2.1.11-36.el7.centos.x86_64 libacl-2.2.51-12.el7.x86_64 abrt-addon-kerneloops-2.1.11-36.el7.centos.x86_64 findutils-4.5.11-5.el7.x86_64 cronie-1.4.11-14.el7.x86_64 file-libs-5.11-31.el7.x86_64 os-prober-1.58-5.el7.x86_64 xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 abrt-addon-pstoreoops-2.1.11-36.el7.centos.x86_64 xz-5.1.2-12alpha.el7.x86_64 abrt-tui-2.1.11-36.el7.centos.x86_64 libmpc-1.0.1-3.el7.x86_64 abrt-addon-ccpp-2.1.11-36.el7.centos.x86_64 libcap-ng-0.7.5-4.el7.x86_64 kexec-tools-2.0.7-38.el7.x86_64 tar-1.26-29.el7.x86_64 dnsmasq-2.66-14.el7_1.x86_64 avahi-libs-0.6.31-15.el7.x86_64 trousers-0.3.13-1.el7.x86_64 groff-base-1.22.2-8.el7.x86_64 neon-0.30.0-3.el7.x86_64 libquadmath-4.8.5-4.el7.x86_64 glib-networking-2.42.0-1.el7.x86_64 m4-1.4.16-10.el7.x86_64 ebtables-2.0.10-13.el7.x86_64 gdbm-1.10-8.el7.x86_64 perl-Git-1.8.3.1-5.el7.noarch perl-HTTP-Tiny-0.033-3.el7.noarch gettext-devel-0.18.2.1-4.el7.x86_64 perl-Pod-Perldoc-3.20-4.el7.noarch abrt-addon-python-2.1.11-36.el7.centos.x86_64 perl-Text-ParseWords-3.29-4.el7.noarch NetworkManager-1.0.6-27.el7.x86_64 perl-Pod-Usage-1.63-3.el7.noarch libpciaccess-0.13.4-2.el7.x86_64 perl-threads-1.87-4.el7.x86_64 plymouth-scripts-0.8.9-0.24.20140113.el7.centos.x86_64 perl-threads-shared-1.43-6.el7.x86_64 fxload-2002_04_11-16.el7.x86_64 perl-Filter-1.49-3.el7.x86_64 alsa-tools-firmware-1.0.28-2.el7.x86_64 perl-Carp-1.26-244.el7.noarch jansson-2.4-6.el7.x86_64 perl-Time-Local-1.2300-2.el7.noarch perl-srpm-macros-1-8.el7.noarch perl-macros-5.16.3-286.el7.x86_64 kbd-legacy-1.15.5-11.el7.noarch perl-File-Temp-0.23.01-3.el7.noarch rpm-build-4.11.3-17.el7.x86_64 perl-PathTools-3.40-5.el7.x86_64 rsyslog-7.4.7-12.el7.x86_64 perl-Getopt-Long-2.40-2.el7.noarch abrt-cli-2.1.11-36.el7.centos.x86_64 perl-Error-0.17020-2.el7.noarch firewalld-0.3.9-14.el7.noarch less-458-9.el7.x86_64 grub2-2.02-0.29.el7.centos.x86_64 libnl3-cli-3.2.21-10.el7.x86_64 audit-2.4.1-5.el7.x86_64 libassuan-2.1.0-3.el7.x86_64 rdma-7.2_4.1_rc6-1.el7.noarch nss-softokn-3.16.2.3-13.el7_1.x86_64 irqbalance-1.0.7-5.el7.x86_64 e2fsprogs-libs-1.42.9-7.el7.x86_64 biosdevname-0.6.2-1.el7.x86_64 zip-3.0-10.el7.x86_64 chrony-2.1.1-1.el7.centos.x86_64 make-3.82-21.el7.x86_64 dracut-config-rescue-033-359.el7.x86_64 libunistring-0.9.3-9.el7.x86_64 systemtap-2.8-10.el7.x86_64 libedit-3.0-12.20121213cvs.el7.x86_64 snappy-1.1.0-3.el7.x86_64 newt-0.52.15-4.el7.x86_64 libnfnetlink-1.0.1-4.el7.x86_64 p11-kit-trust-0.20.7-3.el7.x86_64 ethtool-3.15-2.el7.x86_64 hostname-3.13-3.el7.x86_64 libdaemon-0.14-7.el7.x86_64 libteam-1.17-5.el7.x86_64 autoconf-2.69-11.el7.noarch perl-Test-Harness-3.28-3.el7.noarch kernel-devel-3.10.0-327.el7.x86_64 cpp-4.8.5-4.el7.x86_64 vim-minimal-7.4.160-1.el7.x86_64 gobject-introspection-1.42.0-1.el7.x86_64 nettle-2.7.1-4.el7.x86_64 libss-1.42.9-7.el7.x86_64 mozjs17-17.0.0-12.el7.x86_64 libdwarf-20130207-4.el7.x86_64 libtar-1.2.11-29.el7.x86_64 libselinux-utils-2.2.2-6.el7.x86_64 glibc-headers-2.17-105.el7.x86_64 ncurses-5.9-13.20130511.el7.x86_64 libmodman-2.0.1-8.el7.x86_64 libverto-0.2.5-4.el7.x86_64 openssl-libs-1.0.1e-42.el7.9.x86_64 ca-certificates-2015.2.4-71.el7.noarch python-2.7.5-34.el7.x86_64 gzip-1.5-8.el7.x86_64 binutils-2.23.52.0.1-55.el7.x86_64 cracklib-2.9.0-11.el7.x86_64 python-decorator-3.4.0-3.el7.noarch libpwquality-1.2.3-4.el7.x86_64 systemd-libs-219-19.el7.x86_64 procps-ng-3.3.10-3.el7.x86_64 python-augeas-0.5.0-2.el7.noarch pygobject3-base-3.14.0-3.el7.x86_64 centos-logos-70.0.6-3.el7.centos.noarch python-dmidecode-3.10.13-11.el7.x86_64 libquadmath-devel-4.8.5-4.el7.x86_64 grubby-8.28-17.el7.x86_64 python-perf-3.10.0-327.el7.x86_64 python-slip-0.4.0-2.el7.noarch yum-metadata-parser-1.1.4-10.el7.x86_64 pyliblzma-0.5.3-11.el7.x86_64 python-six-1.9.0-2.el7.noarch pyxattr-0.5.1-5.el7.x86_64 python-pyudev-0.15-7.el7.noarch nss-sysinit-3.19.1-18.el7.x86_64 NetworkManager-libnm-1.0.6-27.el7.x86_64 nss-tools-3.19.1-18.el7.x86_64 openssl-1.0.1e-42.el7.9.x86_64 mariadb-libs-5.5.44-2.el7.centos.x86_64 fipscheck-lib-1.4.1-5.el7.x86_64 mokutil-0.9-2.el7.x86_64 libcurl-7.29.0-25.el7.centos.x86_64 rpm-libs-4.11.3-17.el7.x86_64 openldap-2.4.40-8.el7.x86_64 libreport-python-2.1.11-32.el7.centos.x86_64 abrt-libs-2.1.11-36.el7.centos.x86_64 libreport-web-2.1.11-32.el7.centos.x86_64 libuser-0.60-7.el7_1.x86_64 systemtap-devel-2.8-10.el7.x86_64 libreport-centos-2.1.11-32.el7.centos.x86_64 authconfig-6.2.8-10.el7.x86_64 man-db-2.6.3-9.el7.x86_64 compat-libtiff3-3.9.4-11.el7.x86_64 iprutils-2.4.8-1.el7.x86_64 libreport-plugin-mailx-2.1.11-32.el7.centos.x86_64 compat-openldap-2.3.43-5.el7.x86_64 crash-gcore-command-1.3.1-0.el7.x86_64 libtool-2.4.2-20.el7.x86_64 e2fsprogs-1.42.9-7.el7.x86_64 btrfs-progs-3.19.1-1.el7.x86_64 openssl098e-0.9.8e-29.el7.centos.2.x86_64 valgrind-3.10.0-16.el7.x86_64 flex-2.5.37-3.el7.x86_64 ltrace-0.7.91-14.el7.x86_64 libpng12-1.2.50-6.el7.x86_64 strace-4.8-11.el7.x86_64 doxygen-1.8.5-3.el7.x86_64 byacc-1.9.20130304-3.el7.x86_64 diffstat-1.57-4.el7.x86_64 libsysfs-2.1.0-16.el7.x86_64 latrace-0.5.11-6.1.el7.x86_64 iwl3945-firmware-15.32.2.9-43.el7.noarch iwl3160-firmware-22.0.7.0-43.el7.noarch iwl2030-firmware-18.168.6.1-43.el7.noarch iwl5000-firmware-8.83.5.1_1-43.el7.noarch iwl6000g2a-firmware-17.168.5.3-43.el7.noarch ivtv-firmware-20080701-26.el7.noarch iwl2000-firmware-18.168.6.1-43.el7.noarch iwl1000-firmware-39.31.5.1-43.el7.noarch iwl135-firmware-18.168.6.1-43.el7.noarch iwl100-firmware-39.31.5.1-43.el7.noarch libmspack-0.5-0.4.alpha.el7.x86_64 net-tools-2.0-0.17.20131004git.el7.x86_64 fuse-libs-2.9.2-7.el7.x86_64 open-vm-tools-10.0.5-4.el7_3.x86_64 libreport-plugin-rhtsupport-2.1.11-32.el7.centos.x86_64 centos-release-7-2.1511.el7.centos.2.10.x86_64 lsscsi-0.27-3.el7.x86_64 basesystem-10.0-7.el7.centos.noarch rpm-build-libs-4.11.3-17.el7.x86_64 bind-license-9.9.4-29.el7.noarch yum-plugin-fastestmirror-1.1.31-34.el7.noarch tzdata-2015g-1.el7.noarch libjpeg-turbo-1.2.90-5.el7.x86_64 glibc-2.17-105.el7.x86_64 pakchois-0.4-10.el7.x86_64 xz-libs-5.1.2-12alpha.el7.x86_64 ustr-1.0.4-16.el7.x86_64 zlib-1.2.7-15.el7.x86_64 libutempter-1.1.6-4.el7.x86_64 sed-4.2.2-5.el7.x86_64 openssh-clients-6.6.1p1-22.el7.x86_64 popt-1.13-16.el7.x86_64 systemtap-client-2.8-10.el7.x86_64 libcom_err-1.42.9-7.el7.x86_64 iproute-3.10.0-54.el7.x86_64 dbus-libs-1.6.12-13.el7.x86_64 device-mapper-libs-1.02.107-5.el7.x86_64 json-c-0.11-4.el7_0.x86_64 systemd-219-19.el7.x86_64 cpio-2.11-24.el7.x86_64 polkit-pkla-compat-0.1-4.el7.x86_64 shared-mime-info-1.1-9.el7.x86_64 abrt-dbus-2.1.11-36.el7.centos.x86_64 libcap-2.22-8.el7.x86_64 cronie-anacron-1.4.11-14.el7.x86_64 diffutils-3.3-4.el7.x86_64 grub2-tools-2.02-0.29.el7.centos.x86_64 cyrus-sasl-lib-2.1.26-19.2.el7.x86_64 abrt-retrace-client-2.1.11-36.el7.centos.x86_64 p11-kit-0.20.7-3.el7.x86_64 abrt-addon-vmcore-2.1.11-36.el7.centos.x86_64 dbus-glib-0.100-7.el7.x86_64 gnutls-3.3.8-12.el7_1.1.x86_64 libidn-1.28-4.el7.x86_64 libsoup-2.48.1-3.el7.x86_64 lzo-2.06-8.el7.x86_64 git-1.8.3.1-5.el7.x86_64 perl-podlators-2.5.1-3.el7.noarch ppp-2.4.5-33.el7.x86_64 perl-Encode-2.51-7.el7.x86_64 libdrm-2.4.60-3.el7.x86_64 perl-Storable-2.45-3.el7.x86_64 alsa-firmware-1.0.28-2.el7.noarch perl-Exporter-5.68-3.el7.noarch teamd-1.17-5.el7.x86_64 perl-constant-1.27-2.el7.noarch kbd-1.15.5-11.el7.x86_64 perl-File-Path-2.09-2.el7.noarch NetworkManager-tui-1.0.6-27.el7.x86_64 perl-5.16.3-286.el7.x86_64 subversion-1.7.14-10.el7.x86_64 apr-util-1.5.2-6.el7.x86_64 postfix-2.10.1-6.el7.x86_64 libcroco-0.6.8-5.el7.x86_64 aic94xx-firmware-30-6.el7.noarch unzip-6.0-15.el7.x86_64 openssh-server-6.6.1p1-22.el7.x86_64 which-2.20-7.el7.x86_64 selinux-policy-targeted-3.13.1-60.el7.noarch boost-system-1.53.0-25.el7.x86_64 kernel-tools-3.10.0-327.el7.x86_64 sysvinit-tools-2.88-14.dsf.el7.x86_64 passwd-0.79-4.el7.x86_64 pciutils-libs-3.2.1-4.el7.x86_64 crash-trace-command-2.0-9.el7.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 gcc-c++-4.8.5-4.el7.x86_64 perl-Data-Dumper-2.145-3.el7.x86_64 ps_mem-3.1-5.el7.noarch perl-TermReadKey-2.30-20.el7.x86_64 bison-2.7-4.el7.x86_64 acl-2.2.51-12.el7.x86_64 indent-2.2.11-13.el7.x86_64 gsettings-desktop-schemas-3.14.2-1.el7.x86_64 cscope-15.8-7.el7.x86_64 libdb-utils-5.3.21-19.el7.x86_64 compat-libcap1-1.10-7.el7.x86_64 dyninst-8.2.0-2.el7.x86_64 ctags-5.8-13.el7.x86_64 freetype-2.4.11-11.el7.x86_64 iwl6050-firmware-41.28.5.1-43.el7.noarch libstdc++-devel-4.8.5-4.el7.x86_64 rootfiles-8.1-11.el7.noarch krb5-libs-1.13.2-10.el7.x86_64 iwl6000g2b-firmware-17.168.5.2-43.el7.noarch python-libs-2.7.5-34.el7.x86_64 iwl6000-firmware-9.221.4.1-43.el7.noarch dbus-python-1.1.1-9.el7.x86_64 iwl7260-firmware-22.0.7.0-43.el7.noarch gettext-0.18.2.1-4.el7.x86_64 libdnet-1.12-13.1.el7.x86_64 pam-1.1.8-12.el7_1.1.x86_64 fuse-2.9.2-7.el7.x86_64 libmount-2.23.2-26.el7.x86_64 gdb-7.6.1-80.el7.x86_64 plymouth-core-libs-0.8.9-0.24.20140113.el7.centos.x86_64 pygobject2-2.28.6-11.el7.x86_64 python-slip-dbus-0.4.0-2.el7.noarch python-iniparse-0.4-9.el7.noarch newt-python-0.52.15-4.el7.x86_64 nss-3.19.1-18.el7.x86_64 logrotate-3.8.6-6.el7.x86_64 bind-libs-lite-9.9.4-29.el7.x86_64 libssh2-1.4.3-10.el7.x86_64 rpm-4.11.3-17.el7.x86_64 libreport-2.1.11-32.el7.centos.x86_64 libreport-plugin-mantisbt-2.1.11-32.el7.centos.x86_64 dhcp-common-4.2.5-42.el7.centos.x86_64
格式:rpm {-i|–install} [install-options] PACKAGE_FILE …
-i:安装
-v:显示过程信息
-h:以#显示程序包执行进度;每个#表示2%的进度
实例:rpm -ivh 包全名 #显示过程进度信息的安装方式
-i:安装
-v:显示过程信息
-h:以#显示程序包执行进度;每个#表示2%的进度
实例:rpm -ivh 包全名 #显示过程进度信息的安装方式
格式:rpm {-U|–upgrade} [install-options] PACKAGE_FILE …
-U:升级
-v:显示过程信息
-h:以#显示程序包执行进度;每个#表示2%的进度
实例:rpm -Uvh 包全名 #显示过程进度信息的升级方式
-U:升级
-v:显示过程信息
-h:以#显示程序包执行进度;每个#表示2%的进度
实例:rpm -Uvh 包全名 #显示过程进度信息的升级方式