首页 > 代码库 > centos 7.0 查看所有安装的包

centos 7.0 查看所有安装的包

rpm方式安装的包 默认 最小化安装centos 7.0

rpm -qa 查看所有安装的包

[root@localhost ~]# rpm -qabiosdevname-0.5.0-10.el7.x86_64centos-release-7-0.1406.el7.centos.2.3.x86_64openssh-server-6.4p1-8.el7.x86_64filesystem-3.2-18.el7.x86_64parted-3.1-17.el7.x86_64ncurses-base-5.9-13.20130511.el7.noarchselinux-policy-targeted-3.12.1-153.el7.noarchkbd-misc-1.15.5-10.el7.noarchxfsprogs-3.2.0-0.10.alpha2.el7.x86_64tzdata-2014b-1.el7.noarche2fsprogs-1.42.9-4.el7.x86_64passwd-0.79-4.el7.x86_64xz-libs-5.1.2-8alpha.el7.x86_64tar-1.26-29.el7.x86_64ncurses-libs-5.9-13.20130511.el7.x86_64rootfiles-8.1-11.el7.noarchlibsepol-2.1.9-3.el7.x86_64iwl6000g2a-firmware-17.168.5.3-34.el7.noarchlibselinux-2.2.2-6.el7.x86_64iwl2030-firmware-18.168.6.1-34.el7.noarchinfo-5.1-4.el7.x86_64iwl100-firmware-39.31.5.1-34.el7.noarchdbus-libs-1.6.12-8.el7.x86_64iwl135-firmware-18.168.6.1-34.el7.noarchsed-4.2.2-5.el7.x86_64iwl105-firmware-18.168.6.1-34.el7.noarchnspr-4.10.2-4.el7.x86_64libertas-sd8686-firmware-20140213-0.3.git4164c23.el7.noarchchkconfig-1.3.61-4.el7.x86_64ivtv-firmware-20080701-26.el7.noarchnss-util-3.15.4-2.el7.x86_64libertas-usb8388-firmware-20140213-0.3.git4164c23.el7.noarchgrep-2.16-1.el7.x86_64iwl5000-firmware-8.83.5.1_1-34.el7.noarchreadline-6.2-9.el7.x86_64gpg-pubkey-f4a80eb5-53a7ff4blibgpg-error-1.12-3.el7.x86_64libgcc-4.8.2-16.2.el7_0.x86_64libacl-2.2.51-12.el7.x86_64glibc-common-2.17-55.el7_0.1.x86_64cpio-2.11-22.el7.x86_64libmpc-1.0.1-3.el7.x86_64libnl3-3.2.21-6.el7.x86_64libgomp-4.8.2-16.2.el7_0.x86_64libgcrypt-1.5.3-4.el7.x86_64glibc-headers-2.17-55.el7_0.1.x86_64lua-5.1.4-14.el7.x86_64gcc-4.8.2-16.2.el7_0.x86_64pkgconfig-0.27.1-4.el7.x86_64mailx-12.5-12.el7_0.x86_64shared-mime-info-1.1-7.el7.x86_64libstdc++-4.8.2-16.2.el7_0.x86_64libcap-ng-0.7.3-5.el7.x86_64gcc-c++-4.8.2-16.2.el7_0.x86_64libidn-1.28-3.el7.x86_64zlib-devel-1.2.7-13.el7.x86_64gmp-5.1.1-5.el7.x86_64p11-kit-0.18.7-4.el7.x86_64libdaemon-0.14-7.el7.x86_64libcroco-0.6.8-5.el7.x86_64libnl3-cli-3.2.21-6.el7.x86_64cyrus-sasl-lib-2.1.26-17.el7.x86_64groff-base-1.22.2-8.el7.x86_64libunistring-0.9.3-9.el7.x86_64diffutils-3.3-4.el7.x86_64xz-5.1.2-8alpha.el7.x86_64sysvinit-tools-2.88-14.dsf.el7.x86_64newt-0.52.15-4.el7.x86_64ethtool-3.8-3.el7.x86_64hostname-3.13-3.el7.x86_64gdbm-1.10-8.el7.x86_64less-458-8.el7.x86_64p11-kit-trust-0.18.7-4.el7.x86_64nettle-2.7.1-2.el7.x86_64gobject-introspection-1.36.0-4.el7.x86_64gsettings-desktop-schemas-3.8.2-3.el7.x86_64acl-2.2.51-12.el7.x86_64libdb-utils-5.3.21-17.el7.x86_64mozjs17-17.0.0-10.el7.x86_64make-3.82-21.el7.x86_64freetype-2.4.11-9.el7.x86_64ncurses-5.9-13.20130511.el7.x86_64libproxy-0.4.11-6.el7.x86_64libsoup-2.42.2-3.el7.x86_64libndp-1.2-4.el7.x86_64libsysfs-2.1.0-16.el7.x86_64ustr-1.0.4-16.el7.x86_64nss-tools-3.15.4-6.el7.x86_64openssl-libs-1.0.1e-34.el7.x86_64gzip-1.5-7.el7.x86_64cracklib-dicts-2.9.0-11.el7.x86_64nss-3.15.4-6.el7.x86_64libuser-0.60-5.el7.x86_64coreutils-8.22-11.el7.x86_64shadow-utils-4.1.5.1-13.el7.x86_64libutempter-1.1.6-4.el7.x86_64nss-sysinit-3.15.4-6.el7.x86_64python-2.7.5-16.el7.x86_64dbus-python-1.1.1-9.el7.x86_64pygobject3-base-3.8.2-4.el7.x86_64procps-ng-3.3.9-6.el7.x86_64dhcp-common-4.2.5-27.el7.centos.x86_64python-slip-0.4.0-2.el7.noarchpython-iniparse-0.4-9.el7.noarchnewt-python-0.52.15-4.el7.x86_64python-configobj-4.7.2-7.el7.noarchpython-backports-1.0-6.el7.noarchpython-setuptools-0.9.8-3.el7.noarchgrubby-8.28-8.el7.x86_64kmod-14-9.el7.x86_64openssl-1.0.1e-34.el7.x86_64plymouth-core-libs-0.8.9-0.10.20140113.el7.centos.x86_64libssh2-1.4.3-8.el7.x86_64python-pycurl-7.19.0-17.el7.x86_64curl-7.29.0-19.el7.x86_64rpm-4.11.1-16.el7.x86_64selinux-policy-3.12.1-153.el7.noarchfipscheck-lib-1.4.1-5.el7.x86_64openssh-6.4p1-8.el7.x86_64dmidecode-2.12-5.el7.x86_64libmnl-1.0.3-7.el7.x86_64iptables-1.4.21-13.el7.x86_64libpcap-1.5.3-3.el7.x86_64device-mapper-1.02.84-14.el7.x86_64cryptsetup-libs-1.6.3-2.el7.x86_64dbus-1.6.12-8.el7.x86_64libgudev1-208-11.el7.x86_64initscripts-9.49.17-1.el7.x86_64NetworkManager-glib-0.9.9.1-13.git20140326.4dba720.el7.x86_64polkit-pkla-compat-0.1-4.el7.x86_64cronie-anacron-1.4.11-11.el7.x86_64crontabs-1.11-6.20121102git.el7.noarchavahi-libs-0.6.31-13.el7.x86_64avahi-autoipd-0.6.31-13.el7.x86_64dnsmasq-2.66-12.el7.x86_64ebtables-2.0.10-13.el7.x86_64libpciaccess-0.13.1-4.1.el7.x86_64fxload-2002_04_11-16.el7.x86_64alsa-tools-firmware-1.0.27-4.el7.x86_64libpipeline-1.2.3-3.el7.x86_64gnupg2-2.0.22-3.el7.x86_64rpm-python-4.11.1-16.el7.x86_64pygpgme-0.3-9.el7.x86_64yum-3.4.3-118.el7.centos.noarchhardlink-1.0-19.el7.x86_64dracut-network-033-161.el7.x86_64plymouth-0.8.9-0.10.20140113.el7.centos.x86_64teamd-1.9-15.el7.x86_64libestr-0.1.9-2.el7.x86_64NetworkManager-tui-0.9.9.1-13.git20140326.4dba720.el7.x86_64kernel-3.10.0-123.el7.x86_64dracut-config-rescue-033-161.el7.x86_64man-db-2.6.3-9.el7.x86_64kbd-1.15.5-10.el7.x86_64postfix-2.10.1-6.el7.x86_64tuned-2.3.0-11.el7.noarchaic94xx-firmware-30-6.el7.noarchsetup-2.8.71-4.el7.noarchirqbalance-1.0.6-5.el7.x86_64basesystem-10.0-7.el7.centos.noarchopenssh-clients-6.4p1-8.el7.x86_64linux-firmware-20140213-0.3.git4164c23.el7.noarchauthconfig-6.2.8-8.el7.x86_64bind-license-9.9.4-14.el7.noarchbtrfs-progs-3.12-4.el7.x86_64nss-softokn-freebl-3.15.4-2.el7.x86_64sudo-1.8.6p7-11.el7.x86_64iprutils-2.3.16-4.el7.x86_64iwl6000g2b-firmware-17.168.5.2-34.el7.noarchbash-4.2.45-5.el7.x86_64iwl7260-firmware-22.0.7.0-34.el7.noarchpcre-8.32-12.el7.x86_64libertas-sd8787-firmware-20140213-0.3.git4164c23.el7.noarchzlib-1.2.7-13.el7.x86_64iwl6050-firmware-41.28.5.1-34.el7.noarchaudit-libs-2.3.3-4.el7.x86_64iwl1000-firmware-39.31.5.1-34.el7.noarchlibuuid-2.23.2-16.el7.x86_64iwl6000-firmware-9.221.4.1-34.el7.noarchlibcom_err-1.42.9-4.el7.x86_64iwl2000-firmware-18.168.6.1-34.el7.noarchpopt-1.13-16.el7.x86_64iwl5150-firmware-8.24.2.2-34.el7.noarchlibdb-5.3.21-17.el7.x86_64iwl4965-firmware-228.61.2.24-34.el7.noarchbzip2-libs-1.0.6-12.el7.x86_64iwl3160-firmware-22.0.7.0-34.el7.noarchgawk-4.0.2-4.el7.x86_64iwl3945-firmware-15.32.2.9-34.el7.noarchelfutils-libelf-0.158-3.el7.x86_64wget-1.14-10.el7_0.1.x86_64libattr-2.4.46-12.el7.x86_64glibc-2.17-55.el7_0.1.x86_64libcap-2.22-8.el7.x86_64mpfr-3.1.1-4.el7.x86_64libxml2-2.9.1-5.el7.x86_64cpp-4.8.2-16.2.el7_0.x86_64expat-2.1.0-8.el7.x86_64kernel-headers-3.10.0-123.13.1.el7.x86_64sqlite-3.7.17-4.el7.x86_64glibc-devel-2.17-55.el7_0.1.x86_64libffi-3.0.13-11.el7.x86_64vsftpd-3.0.2-9.el7.x86_64glib2-2.36.3-5.el7.x86_64smartmontools-6.2-4.el7.x86_64dbus-glib-0.100-7.el7.x86_64libstdc++-devel-4.8.2-16.2.el7_0.x86_64findutils-4.5.11-3.el7.x86_64pcre-devel-8.32-12.el7.x86_64file-libs-5.11-21.el7.x86_64lsof-4.87-4.el7.x86_64libtasn1-3.3-3.el7.x86_64tcp_wrappers-libs-7.6-77.el7.x86_64file-5.11-21.el7.x86_64nss-softokn-3.15.4-2.el7.x86_64libassuan-2.1.0-3.el7.x86_64e2fsprogs-libs-1.42.9-4.el7.x86_64which-2.20-7.el7.x86_64kmod-libs-14-9.el7.x86_64libnfnetlink-1.0.1-4.el7.x86_64slang-2.2.4-11.el7.x86_64lzo-2.06-6.el7.x86_64pciutils-libs-3.2.1-4.el7.x86_64keyutils-libs-1.5.8-3.el7.x86_64gettext-libs-0.18.2.1-4.el7.x86_64libteam-1.9-15.el7.x86_64ca-certificates-2013.1.95-71.el7.noarchgnutls-3.1.18-8.el7.x86_64ModemManager-glib-1.1.0-6.git20130913.el7.x86_64vim-minimal-7.4.160-1.el7.x86_64elfutils-libs-0.158-3.el7.x86_64pinentry-0.8.1-14.el7.x86_64libss-1.42.9-4.el7.x86_64libselinux-utils-2.2.2-6.el7.x86_64libedit-3.0-12.20121213cvs.el7.x86_64libmodman-2.0.1-8.el7.x86_64glib-networking-2.36.2-3.el7.x86_64snappy-1.1.0-3.el7.x86_64numactl-libs-2.0.9-2.el7.x86_64libverto-0.2.5-4.el7.x86_64libsemanage-2.1.10-16.el7.x86_64krb5-libs-1.11.3-49.el7.x86_64openldap-2.4.39-3.el7.x86_64cracklib-2.9.0-11.el7.x86_64libmount-2.23.2-16.el7.x86_64systemd-libs-208-11.el7.x86_64libpwquality-1.2.3-4.el7.x86_64pam-1.1.8-9.el7.x86_64libblkid-2.23.2-16.el7.x86_64util-linux-2.23.2-16.el7.x86_64python-libs-2.7.5-16.el7.x86_64python-decorator-3.4.0-3.el7.noarchgettext-0.18.2.1-4.el7.x86_64centos-logos-70.0.6-1.el7.centos.noarchdhcp-libs-4.2.5-27.el7.centos.x86_64libselinux-python-2.2.2-6.el7.x86_64python-slip-dbus-0.4.0-2.el7.noarchpyliblzma-0.5.3-11.el7.x86_64yum-metadata-parser-1.1.4-10.el7.x86_64pyxattr-0.5.1-5.el7.x86_64python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarchpython-pyudev-0.15-6.el7.noarchbinutils-2.23.52.0.1-16.el7.x86_64logrotate-3.8.6-4.el7.x86_64alsa-lib-1.0.27.2-3.el7.x86_64mariadb-libs-5.5.35-3.el7.x86_64libcurl-7.29.0-19.el7.x86_64python-urlgrabber-3.10-4.el7.noarchrpm-libs-4.11.1-16.el7.x86_64policycoreutils-2.2.5-11.el7.x86_64bind-libs-lite-9.9.4-14.el7.x86_64fipscheck-1.4.1-5.el7.x86_64json-c-0.11-3.el7.x86_64virt-what-1.13-5.el7.x86_64libnetfilter_conntrack-1.0.4-2.el7.x86_64iproute-3.10.0-13.el7.x86_64qrencode-libs-3.4.1-3.el7.x86_64device-mapper-libs-1.02.84-14.el7.x86_64systemd-208-11.el7.x86_64systemd-sysv-208-11.el7.x86_64iputils-20121221-6.el7.x86_64dhclient-4.2.5-27.el7.centos.x86_64polkit-0.112-5.el7.x86_64os-prober-1.58-5.el7.x86_64cronie-1.4.11-11.el7.x86_64grub2-tools-2.02-0.2.10.el7.centos.1.x86_64avahi-0.6.31-13.el7.x86_64wpa_supplicant-2.0-12.el7.x86_64ppp-2.4.5-33.el7.x86_64hwdata-0.252-7.3.el7.noarchlibdrm-2.4.50-1.1.el7.x86_64alsa-firmware-1.0.27-2.el7.noarchkpartx-0.4.9-66.el7.x86_64pth-2.0.7-22.el7.x86_64rpm-build-libs-4.11.1-16.el7.x86_64gpgme-1.3.2-5.el7.x86_64yum-plugin-fastestmirror-1.1.31-24.el7.noarchkernel-tools-libs-3.10.0-123.el7.x86_64dracut-033-161.el7.x86_64plymouth-scripts-0.8.9-0.10.20140113.el7.centos.x86_64jansson-2.4-6.el7.x86_64NetworkManager-0.9.9.1-13.git20140326.4dba720.el7.x86_64rsyslog-7.4.7-6.el7.x86_64kexec-tools-2.0.4-32.el7.centos.x86_64grub2-2.02-0.2.10.el7.centos.1.x86_64kernel-tools-3.10.0-123.el7.x86_64firewalld-0.3.9-7.el7.noarchaudit-2.3.3-4.el7.x86_64microcode_ctl-2.1-7.1.el7.x86_64
rpm -q  查看一个包是否被安装


[root@localhost ~]# rpm -q nginx
未安装软件包 nginx


[root@localhost ~]# rpm -q microcode
未安装软件包 microcode
[root@localhost ~]# rpm -q microcode_ctl-2.1-7.1.el7.x86_64
microcode_ctl-2.1-7.1.el7.x86_64

这个要完整的名字 不太会用这样意义不是很大额~

centos 7.0 查看所有安装的包