{"id":25983,"date":"2018-03-30T02:52:37","date_gmt":"2018-03-30T07:52:37","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=25983"},"modified":"2022-12-19T06:03:19","modified_gmt":"2022-12-19T12:03:19","slug":"list-all-installed-packages-with-yum-on-centos-7","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-yum-on-centos-7\/","title":{"rendered":"List All Installed Packages with yum on CentOS 7"},"content":{"rendered":"
<\/p>\n
In this short tutorial, we will show you, how to list all installed packages with yum\u00a0 on CentOS 7 <\/a>. Yum is the default package manager used in CentOS, used to interact with both individual RPM package files and many repositories. This tutorial was written for CentOS 7, but the commands in this tutorial should work on any server with Redhat, CentOS, or Fedora installed on it. As you can see from the output, this command line command will show you a long list of all installed packages, including the package name, package version and the repository name from which the package was installed. It will allow you to view one screenful at a time. Also, you can use grep to filter the output and list specific packages only. For example, if you want to list all installed PHP packages, use the following command:<\/p>\n Of course, you don\u2019t have to list all installed packages with yum on CentOS 7, if you use one of our Managed CentOS VPS hosting<\/a> plans in which case you can simply ask our expert Linux admins to list installed packages on your CentOS server with yum, for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n PS<\/strong><\/span>. If you liked this post, on how to list all installed packages with yum on CentOS 7,\u00a0 please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":" In this short tutorial, we will show you, how to list all installed packages with yum\u00a0 on CentOS 7 . … <\/p>\n
\nIn order to list all installed packages on CentOS 7, you can use the yum list installed<\/strong>\u00a0command. It will list all installed RPM packages on the CentOS server in case-sensitive alphabetical order. For example:<\/p>\nyum list installed<\/pre>\n
Installed Packages\r\nGeoIP.x86_64 1.5.0-11.el7 @base\r\nImageMagick.x86_64 6.7.8.9-15.el7_2 @C7.2.1511-updates\r\nOpenEXR-libs.x86_64 1.7.1-7.el7 @C7.0.1406-base\r\nacl.x86_64 2.2.51-12.el7 installed\r\napr.x86_64 1.4.8-3.el7 @base\r\napr-devel.x86_64 1.4.8-3.el7 @base\r\napr-util.x86_64 1.5.2-6.el7 @base\r\napr-util-devel.x86_64 1.5.2-6.el7 @base\r\naspell.x86_64 12:0.60.6.1-9.el7 @C7.0.1406-base\r\naudit-libs.x86_64 2.6.5-3.el7_3.1 @updates\r\nautoconf.noarch 2.69-11.el7 @base\r\nautogen-libopts.x86_64 5.18-5.el7 @C7.0.1406-base\r\nautomake.noarch 1.13.4-3.el7 @base\r\navahi-libs.x86_64 0.6.31-17.el7 @base\r\nawstats.noarch 7.6-3.1.el7 @epel\r\nbasesystem.noarch 10.0-7.el7.centos installed\r\nbash.x86_64 4.2.46-21.el7_3 @updates\r\nbc.x86_64 1.06.95-13.el7 @C7.0.1406-base\r\nbind.x86_64 32:9.9.4-50.el7_3.1 @updates\r\nbind-libs.x86_64 32:9.9.4-50.el7_3.1 @updates\r\nbind-license.noarch 32:9.9.4-50.el7_3.1 @updates\r\nbind-utils.x86_64 32:9.9.4-50.el7_3.1 @updates\r\nbinutils.x86_64 2.25.1-22.base.el7 @base\r\nbzip2-libs.x86_64 1.0.6-13.el7 @base\r\nca-certificates.noarch 2017.2.14-70.1.el7_3 @updates\r\ncairo.x86_64 1.14.2-1.el7 @C7.2.1511-base\r\ncentos-logos.noarch 70.0.6-3.el7.centos @updates\r\ncentos-release.x86_64 7-3.1611.el7.centos @base\r\nchkconfig.x86_64 1.7.2-1.el7_3.1 @updates\r\nclamav-data.noarch 0.99.2-8.el7 @epel\r\nclamav-filesystem.noarch 0.99.2-8.el7 @epel\r\nclamav-lib.x86_64 0.99.2-8.el7 @epel\r\nclamav-server.x86_64 0.99.2-8.el7 @epel\r\nclamav-update.x86_64 0.99.2-8.el7 @epel\r\nclucene-core.x86_64 2.3.3.4-11.el7 @base\r\ncomposer.noarch 1.5.1-1.el7.remi @remi\r\ncoreutils.x86_64 8.22-18.el7 @base\r\ncpio.x86_64 2.11-24.el7 @base\r\n....\r\nwhich.x86_64 2.20-7.el7 @base\r\nxorg-x11-font-utils.x86_64 1:7.5-20.el7 @C7.2.1511-base\r\nxz.x86_64 5.2.2-1.el7 @base\r\nxz-devel.x86_64 5.2.2-1.el7 @base\r\nxz-libs.x86_64 5.2.2-1.el7 @base\r\nyum.noarch 3.4.3-150.el7.centos @base\r\nyum-metadata-parser.x86_64 1.1.4-10.el7 installed\r\nyum-plugin-fastestmirror.noarch 1.1.31-40.el7 @base\r\nyum-utils.noarch 1.1.31-40.el7 @base\r\nzip.x86_64 3.0-11.el7 @base\r\nzlib.x86_64 1.2.7-17.el7 @base\r\nzlib-devel.x86_64 1.2.7-17.el7 @base\r\n<\/pre>\n
\nOr, useless at the end of this command:<\/p>\nyum list installed | less<\/pre>\n
\nIn order to see all packages, both installed and available, you can use the following command:<\/p>\nyum list available<\/pre>\n
yum list installed | grep -i php<\/pre>\n
php-php-gettext.noarch 1.0.12-1.el7 @epel\r\nphp-tcpdf.noarch 6.2.13-1.el7 @epel\r\nphp-tcpdf-dejavu-sans-fonts.noarch 6.2.13-1.el7 @epel\r\nphp70u-bcmath.x86_64 7.0.28-1.ius.centos7 @ius\r\nphp70u-cli.x86_64 7.0.28-1.ius.centos7 @ius\r\nphp70u-common.x86_64 7.0.28-1.ius.centos7 @ius\r\nphp70u-fpm.x86_64 7.0.28-1.ius.centos7 @ius\r\nphp70u-fpm-nginx.noarch 7.0.28-1.ius.centos7 @ius\r\nphp70u-gd.x86_64 7.0.28-1.ius.centos7 @ius\r\nphp70u-json.x86_64 7.0.28-1.ius.centos7 @ius\r\nphp70u-ldap.x86_64 7.0.28-1.ius.centos7 @ius\r\nphp70u-mbstring.x86_64 7.0.28-1.ius.centos7 @ius\r\nphp70u-mcrypt.x86_64 7.0.28-1.ius.centos7 @ius\r\nphp70u-mysqlnd.x86_64 7.0.28-1.ius.centos7 @ius\r\nphp70u-opcache.x86_64 7.0.28-1.ius.centos7 @ius\r\nphp70u-pdo.x86_64 7.0.28-1.ius.centos7 @ius\r\nphp70u-pear.noarch 1:1.10.5-1.ius.centos7 @ius\r\nphp70u-process.x86_64 7.0.28-1.ius.centos7 @ius\r\nphp70u-tidy.x86_64 7.0.28-1.ius.centos7 @ius\r\nphp70u-xml.x86_64 7.0.28-1.ius.centos7 @ius\r\nphp70u-xmlrpc.x86_64 7.0.28-1.ius.centos7 @ius\r\nphpMyAdmin.noarch 4.4.15.10-2.el7 @epel<\/pre>\n
\n