Q. I am using CentOS how do I show all installed packages in Linux?
A. You need to use rpm command to display all installed packages in Linux.
Red Hat/Fedora Core/CentOS Linux
Type the following command to get list of all installed software
# rpm -qa | less
Debian Linux
Type the following command to get list of all installed software:
# dpkg --get-selections
Ubuntu Linux
Type the following command to get list of all installed software:
# sudo dpkg --get-selections
FreeBSD
Type the following command to get list of all installed software:
# pkg_info | less
# pkg_info apache
Use pkg_version command to summarizes the versions of all installed packages:
# pkg_version | less
# pkg_version | grep 'lsof'
OpenBSD
OpenBSD also use pkg_info command to display list of all installed packages or software:
# pkg_info | less
# pkg_info apache
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- My 10 UNIX Command Line Mistakes
- Linux: 20 Iptables Examples For New SysAdmins

- 25 PHP Security Best Practices For Sys Admins
- The Novice Guide To Buying A Linux Laptop
- 10 Greatest Open Source Software Of 2009
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
Facebook it - Tweet it - Print it -

{ 6 comments… read them below or add one }
yes this web site very use full to get the result
Thanks for the detailed info.
I have a question:
How can we list if a software in not in rpm format? is there any command/procedure to find them? Please let me know.
can anyone compare installing a software in windows and in linux?
can some one help me… how to set up mail configuration on centos?
Show all installed packages or software in Slackware
Manually:
# ls /var/log/packages
By slapt-get
# slapt-get –installed
Show all installed packages or software in Red Hat/Fedora Core/CentOS Linux with YUM
# yum list installed