Статьи
Show all installed packages or software in Linux, FreeBSD, OpenBSD
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 | lessShow all installed packages or software in Red Hat/Fedora Core/CentOS Linux with YUM
# yum list installedRedirect the std out into a file with a command like this:
rpm -qa | less > output.txt
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 | lessUse pkg_version command to summarizes the versions of all installed packages:
# pkg_info apache
# 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
Slackware
Show all installed packages or software in Slackware
Manually:
# ls /var/log/packagesBy slapt-get
# slapt-get –installed