CentOS查看一共安装了多少软件包,是那些软件包

Linux就该这么学

 例:

CentOS-6.5-x86_64 最小化安装,共安装了多少个软件包,是那些软件包?

一、如何得知共安装了多少个软件包?

[plain] view plaincopy在CODE上查看代码片派生到我的代码片

  1. [root@localhost ~]# rpm -qa | wc -l  
  2. 217  

二、如何得知安装了那些软件包?

 

[plain] view plaincopy在CODE上查看代码片派生到我的代码片

  1. [root@localhost ~]# rpm -qa | sort  
  2. acl-2.2.49-6.el6.x86_64  
  3. aic94xx-firmware-30-2.el6.noarch  
  4. atmel-firmware-1.3-7.el6.noarch  
  5. attr-2.4.44-7.el6.x86_64  
  6. audit-2.2-2.el6.x86_64  
  7. audit-libs-2.2-2.el6.x86_64  
  8. authconfig-6.1.12-13.el6.x86_64  
  9. b43-openfwwf-5.2-4.el6.noarch  
  10. basesystem-10.0-4.el6.noarch  
  11. bash-4.1.2-15.el6_4.x86_64  
  12. bfa-firmware-3.2.21.1-2.el6.noarch  
  13. binutils-2.20.51.0.2-5.36.el6.x86_64  
  14. bzip2-1.0.5-7.el6_0.x86_64  
  15. bzip2-libs-1.0.5-7.el6_0.x86_64  
  16. ca-certificates-2013.1.94-65.0.el6.noarch  
  17. centos-release-6-5.el6.centos.11.1.x86_64  
  18. checkpolicy-2.0.22-1.el6.x86_64  
  19. chkconfig-1.3.49.3-2.el6_4.1.x86_64  
  20. coreutils-8.4-31.el6.x86_64  
  21. coreutils-libs-8.4-31.el6.x86_64  
  22. cpio-2.10-11.el6_3.x86_64  
  23. cracklib-2.8.16-4.el6.x86_64  
  24. cracklib-dicts-2.8.16-4.el6.x86_64  
  25. cronie-1.4.4-12.el6.x86_64  
  26. cronie-anacron-1.4.4-12.el6.x86_64  
  27. crontabs-1.10-33.el6.noarch  
  28. curl-7.19.7-37.el6_4.x86_64  
  29. cyrus-sasl-2.1.23-13.el6_3.1.x86_64  
  30. cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64  
  31. dash-0.5.5.1-4.el6.x86_64  
  32. db4-4.7.25-18.el6_4.x86_64  
  33. db4-utils-4.7.25-18.el6_4.x86_64  
  34. dbus-glib-0.86-6.el6.x86_64  
  35. dbus-libs-1.2.24-7.el6_3.x86_64  
  36. device-mapper-1.02.79-8.el6.x86_64  
  37. device-mapper-event-1.02.79-8.el6.x86_64  
  38. device-mapper-event-libs-1.02.79-8.el6.x86_64  
  39. device-mapper-libs-1.02.79-8.el6.x86_64  
  40. device-mapper-persistent-data-0.2.8-2.el6.x86_64  
  41. dhclient-4.1.1-38.P1.el6.centos.x86_64  
  42. dhcp-common-4.1.1-38.P1.el6.centos.x86_64  
  43. diffutils-2.8.1-28.el6.x86_64  
  44. dracut-004-335.el6.noarch  
  45. dracut-kernel-004-335.el6.noarch  
  46. e2fsprogs-1.41.12-18.el6.x86_64  
  47. e2fsprogs-libs-1.41.12-18.el6.x86_64  
  48. efibootmgr-0.5.4-11.el6.x86_64  
  49. elfutils-libelf-0.152-1.el6.x86_64  
  50. ethtool-3.5-1.el6.x86_64  
  51. expat-2.0.1-11.el6_2.x86_64  
  52. file-5.04-15.el6.x86_64  
  53. file-libs-5.04-15.el6.x86_64  
  54. filesystem-2.4.30-3.el6.x86_64  
  55. findutils-4.4.2-6.el6.x86_64  
  56. fipscheck-1.2.0-7.el6.x86_64  
  57. fipscheck-lib-1.2.0-7.el6.x86_64  
  58. gamin-0.1.10-9.el6.x86_64  
  59. gawk-3.1.7-10.el6.x86_64  
  60. gdbm-1.8.0-36.el6.x86_64  
  61. glib2-2.26.1-3.el6.x86_64  
  62. glibc-2.12-1.132.el6.x86_64  
  63. glibc-common-2.12-1.132.el6.x86_64  
  64. gmp-4.3.1-7.el6_2.2.x86_64  
  65. gnupg2-2.0.14-6.el6_4.x86_64  
  66. gpgme-1.1.8-3.el6.x86_64  
  67. grep-2.6.3-4.el6.x86_64  
  68. groff-1.18.1.4-21.el6.x86_64  
  69. grub-0.97-83.el6.x86_64  
  70. grubby-7.0.15-5.el6.x86_64  
  71. gzip-1.3.12-19.el6_4.x86_64  
  72. hwdata-0.233-9.1.el6.noarch  
  73. info-4.13a-8.el6.x86_64  
  74. initscripts-9.03.40-2.el6.centos.x86_64  
  75. iproute-2.6.32-31.el6.x86_64  
  76. iptables-1.4.7-11.el6.x86_64  
  77. iptables-ipv6-1.4.7-11.el6.x86_64  
  78. iputils-20071127-17.el6_4.2.x86_64  
  79. ipw2100-firmware-1.3-11.el6.noarch  
  80. ipw2200-firmware-3.1-4.el6.noarch  
  81. ivtv-firmware-20080701-20.2.noarch  
  82. iwl1000-firmware-39.31.5.1-1.el6.noarch  
  83. iwl100-firmware-39.31.5.1-1.el6.noarch  
  84. iwl3945-firmware-15.32.2.9-4.el6.noarch  
  85. iwl4965-firmware-228.61.2.24-2.1.el6.noarch  
  86. iwl5000-firmware-8.83.5.1_1-1.el6_1.1.noarch  
  87. iwl5150-firmware-8.24.2.2-1.el6.noarch  
  88. iwl6000-firmware-9.221.4.1-1.el6.noarch  
  89. iwl6000g2a-firmware-17.168.5.3-1.el6.noarch  
  90. iwl6050-firmware-41.28.5.1-2.el6.noarch  
  91. kbd-1.15-11.el6.x86_64  
  92. kbd-misc-1.15-11.el6.noarch  
  93. kernel-2.6.32-431.el6.x86_64  
  94. kernel-firmware-2.6.32-431.el6.noarch  
  95. keyutils-libs-1.4-4.el6.x86_64  
  96. krb5-libs-1.10.3-10.el6_4.6.x86_64  
  97. less-436-10.el6.x86_64  
  98. libacl-2.2.49-6.el6.x86_64  
  99. libattr-2.4.44-7.el6.x86_64  
  100. libblkid-2.17.2-12.14.el6.x86_64  
  101. libcap-2.16-5.5.el6.x86_64  
  102. libcap-ng-0.6.4-3.el6_0.1.x86_64  
  103. libcom_err-1.41.12-18.el6.x86_64  
  104. libcurl-7.19.7-37.el6_4.x86_64  
  105. libdrm-2.4.45-2.el6.x86_64  
  106. libertas-usb8388-firmware-5.110.22.p23-3.1.el6.noarch  
  107. libffi-3.0.5-3.2.el6.x86_64  
  108. libgcc-4.4.7-4.el6.x86_64  
  109. libgcrypt-1.4.5-11.el6_4.x86_64  
  110. libgpg-error-1.7-4.el6.x86_64  
  111. libidn-1.18-2.el6.x86_64  
  112. libnih-1.0.1-7.el6.x86_64  
  113. libpciaccess-0.13.1-2.el6.x86_64  
  114. libselinux-2.0.94-5.3.el6_4.1.x86_64  
  115. libselinux-utils-2.0.94-5.3.el6_4.1.x86_64  
  116. libsemanage-2.0.43-4.2.el6.x86_64  
  117. libsepol-2.0.41-4.el6.x86_64  
  118. libss-1.41.12-18.el6.x86_64  
  119. libssh2-1.4.2-1.el6.x86_64  
  120. libstdc++-4.4.7-4.el6.x86_64  
  121. libtasn1-2.3-3.el6_2.1.x86_64  
  122. libudev-147-2.51.el6.x86_64  
  123. libusb-0.1.12-23.el6.x86_64  
  124. libuser-0.56.13-5.el6.x86_64  
  125. libutempter-1.1.5-4.1.el6.x86_64  
  126. libuuid-2.17.2-12.14.el6.x86_64  
  127. libxml2-2.7.6-14.el6.x86_64  
  128. logrotate-3.7.8-17.el6.x86_64  
  129. lua-5.1.4-4.1.el6.x86_64  
  130. lvm2-2.02.100-8.el6.x86_64  
  131. lvm2-libs-2.02.100-8.el6.x86_64  
  132. m4-1.4.13-5.el6.x86_64  
  133. make-3.81-20.el6.x86_64  
  134. MAKEDEV-3.24-6.el6.x86_64  
  135. mingetty-1.08-5.el6.x86_64  
  136. module-init-tools-3.9-21.el6_4.x86_64  
  137. mysql-libs-5.1.71-1.el6.x86_64  
  138. ncurses-5.7-3.20090208.el6.x86_64  
  139. ncurses-base-5.7-3.20090208.el6.x86_64  
  140. ncurses-libs-5.7-3.20090208.el6.x86_64  
  141. net-tools-1.60-110.el6_2.x86_64  
  142. newt-0.52.11-3.el6.x86_64  
  143. newt-python-0.52.11-3.el6.x86_64  
  144. nspr-4.10.0-1.el6.x86_64  
  145. nss-3.15.1-15.el6.x86_64  
  146. nss-softokn-3.14.3-9.el6.x86_64  
  147. nss-softokn-freebl-3.14.3-9.el6.x86_64  
  148. nss-sysinit-3.15.1-15.el6.x86_64  
  149. nss-tools-3.15.1-15.el6.x86_64  
  150. nss-util-3.15.1-3.el6.x86_64  
  151. openldap-2.4.23-32.el6_4.1.x86_64  
  152. openssh-5.3p1-94.el6.x86_64  
  153. openssh-server-5.3p1-94.el6.x86_64  
  154. openssl-1.0.1e-15.el6.x86_64  
  155. p11-kit-0.18.5-2.el6.x86_64  
  156. p11-kit-trust-0.18.5-2.el6.x86_64  
  157. pam-1.1.1-17.el6.x86_64  
  158. passwd-0.77-4.el6_2.2.x86_64  
  159. pciutils-libs-3.1.10-2.el6.x86_64  
  160. pcre-7.8-6.el6.x86_64  
  161. pinentry-0.7.6-6.el6.x86_64  
  162. pkgconfig-0.23-9.1.el6.x86_64  
  163. plymouth-0.8.3-27.el6.centos.x86_64  
  164. plymouth-core-libs-0.8.3-27.el6.centos.x86_64  
  165. plymouth-scripts-0.8.3-27.el6.centos.x86_64  
  166. policycoreutils-2.0.83-19.39.el6.x86_64  
  167. popt-1.13-7.el6.x86_64  
  168. postfix-2.6.6-2.2.el6_1.x86_64  
  169. procps-3.2.8-25.el6.x86_64  
  170. psmisc-22.6-15.el6_0.1.x86_64  
  171. pth-2.0.7-9.3.el6.x86_64  
  172. pygpgme-0.1-18.20090824bzr68.el6.x86_64  
  173. python-2.6.6-51.el6.x86_64  
  174. python-iniparse-0.3.1-2.1.el6.noarch  
  175. python-libs-2.6.6-51.el6.x86_64  
  176. python-pycurl-7.19.0-8.el6.x86_64  
  177. python-urlgrabber-3.9.1-9.el6.noarch  
  178. ql2100-firmware-1.19.38-3.1.el6.noarch  
  179. ql2200-firmware-2.02.08-3.1.el6.noarch  
  180. ql23xx-firmware-3.03.27-3.1.el6.noarch  
  181. ql2400-firmware-7.00.01-1.el6.noarch  
  182. ql2500-firmware-7.00.01-1.el6.noarch  
  183. readline-6.0-4.el6.x86_64  
  184. redhat-logos-60.0.14-12.el6.centos.noarch  
  185. rootfiles-8.1-6.1.el6.noarch  
  186. rpm-4.8.0-37.el6.x86_64  
  187. rpm-libs-4.8.0-37.el6.x86_64  
  188. rpm-python-4.8.0-37.el6.x86_64  
  189. rsyslog-5.8.10-8.el6.x86_64  
  190. rt61pci-firmware-1.2-7.el6.noarch  
  191. rt73usb-firmware-1.8-7.el6.noarch  
  192. sed-4.2.1-10.el6.x86_64  
  193. selinux-policy-3.7.19-231.el6.noarch  
  194. selinux-policy-targeted-3.7.19-231.el6.noarch  
  195. setup-2.8.14-20.el6_4.1.noarch  
  196. shadow-utils-4.1.4.2-13.el6.x86_64  
  197. shared-mime-info-0.70-4.el6.x86_64  
  198. slang-2.2.1-1.el6.x86_64  
  199. sqlite-3.6.20-1.el6.x86_64  
  200. sudo-1.8.6p3-12.el6.x86_64  
  201. system-config-firewall-base-1.2.27-5.el6.noarch  
  202. sysvinit-tools-2.87-5.dsf.el6.x86_64  
  203. tar-1.23-11.el6.x86_64  
  204. tcp_wrappers-libs-7.6-57.el6.x86_64  
  205. tzdata-2013g-1.el6.noarch  
  206. udev-147-2.51.el6.x86_64  
  207. upstart-0.6.5-12.el6_4.1.x86_64  
  208. ustr-1.0.4-9.1.el6.x86_64  
  209. util-linux-ng-2.17.2-12.14.el6.x86_64  
  210. vim-minimal-7.2.411-1.8.el6.x86_64  
  211. which-2.19-6.el6.x86_64  
  212. xorg-x11-drv-ati-firmware-7.1.0-3.el6.noarch  
  213. xz-libs-4.999.9-0.3.beta.20091007git.el6.x86_64  
  214. yum-3.2.29-40.el6.centos.noarch  
  215. yum-metadata-parser-1.1.2-16.el6.x86_64  
  216. yum-plugin-fastestmirror-1.1.30-14.el6.noarch  
  217. zd1211-firmware-1.4-4.el6.noarch  
  218. zlib-1.2.3-29.el6.x86_64  

本文由 CentOS中文站 - 专注Linux技术 作者:centos 发表,其版权均为 CentOS中文站 - 专注Linux技术 所有,文章内容系作者个人观点,不代表 CentOS中文站 - 专注Linux技术 对观点赞同或支持。如需转载,请注明文章来源。

相关文章

发表评论

邮箱地址不会被公开。 必填项已用*标注