• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
The Electric Toolbox Blog

The Electric Toolbox Blog

Linux, Apache, Nginx, MySQL, Javascript and PHP articles

  • Applications
  • FCKEditor
  • Apache
  • Windows
  • Contact Us
Home / List installed packages with YUM

List installed packages with YUM

This post looks at how to list the installed packages with YUM from the command line for YUM based Linux distributions, such as CentOS and Fedora.

It’s very simple:

yum list installed

This will result in a list of all installed packages in case-sensitive alphabetical order, like in the following example:

Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Installed Packages
Deployment_Guide-en-US.noarch            5.1.0-11.el5.centos.1  installed
GConf2.i386                              2.14.0-9.el5           installed
GConf2.x86_64                            2.14.0-9.el5           installed
ImageMagick.i386                         6.2.8.0-3.el5.4        installed
ImageMagick.x86_64                       6.2.8.0-3.el5.4        installed
MAKEDEV.x86_64                           3.23-1.2               installed
NetworkManager.x86_64                    1:0.6.4-6.el5          installed
ORBit2.i386                              2.14.3-4.el5           installed
ORBit2.x86_64                            2.14.3-4.el5           installed
SysVinit.x86_64                          2.86-14                installed
acl.x86_64                               2.2.39-2.1.el5         installed
acpid.x86_64                             1.0.4-5                installed
...
zip.x86_64                               2.31-1.2.2             installed
zlib.x86_64                              1.2.3-3                installed
zlib.i386                                1.2.3-3                installed
zlib-devel.i386                          1.2.3-3                installed
zlib-devel.x86_64                        1.2.3-3                installed

The list is going to be pretty long, so you might want to pipe it through “more” or “less” so you can scroll through it a page at a time:

yum list installed | more
yum list installed | less

or direct it out to a file for viewing in a text editor:

yum list installed > /tmp/yum-list.txt

If you need to see all packages, installed and available, you can use:

yum list all

Or maybe just available packages:

yum list available

Check Out These Related posts:

  1. Install the MSSQL module for PHP on CentOS 5
  2. Install yum with rpm on CentOS
  3. PHP Error Class ‘SoapClient’ not found
  4. “mysql-server-5.1 but it is not going to be installed” error

Filed Under: Linux/Unix/BSD Tagged With: tpp

Primary Sidebar

Categories

  • Apache
  • Applications
  • Article
  • Case Studies
  • Email Servers
  • FCKEditor
  • HTML And CSS
  • Javascript
  • Linux/Unix/BSD
  • Microsoft SQL Server
  • Miscellaneous Postings
  • MySql
  • Networking
  • Nginx Web Server
  • Offsite Articles
  • OSX
  • PHP
  • Quick Tips
  • RFC – Request for Comments
  • SilverStripe
  • VMWare
  • VPN
  • Windows
  • WordPress

Recent Posts

  • Vim Show Line Numbers
  • Add User To Group Linux
  • Chmod 777 Tutorial
  • How to Copy Directory Linux
  • Linux create user

Copyright © 2021. ElectricToolBox. All Rights Reserved.

  • Contact Us
  • Copyright Info
  • Privacy Policy
  • Sitemap